2  * FILE : src/gtk/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 wxNativeFontInfo_FromXFontName(_swigobj,_swigarg0)  (_swigobj->FromXFontName(_swigarg0)) 
 177 static PyObject 
*_wrap_wxNativeFontInfo_FromXFontName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 178     PyObject 
* _resultobj
; 
 180     wxNativeFontInfo 
* _arg0
; 
 182     PyObject 
* _argo0 
= 0; 
 183     PyObject 
* _obj1 
= 0; 
 184     char *_kwnames
[] = { "self","xFontName", NULL 
}; 
 187     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromXFontName",_kwnames
,&_argo0
,&_obj1
))  
 190         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 191         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 192             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromXFontName. Expected _wxNativeFontInfo_p."); 
 197     _arg1 
= wxString_in_helper(_obj1
); 
 202     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 203     _result 
= (bool )wxNativeFontInfo_FromXFontName(_arg0
,*_arg1
); 
 205     wxPyEndAllowThreads(__tstate
); 
 206     if (PyErr_Occurred()) return NULL
; 
 207 }    _resultobj 
= Py_BuildValue("i",_result
); 
 215 #define wxNativeFontInfo_IsDefault(_swigobj)  (_swigobj->IsDefault()) 
 216 static PyObject 
*_wrap_wxNativeFontInfo_IsDefault(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 217     PyObject 
* _resultobj
; 
 219     wxNativeFontInfo 
* _arg0
; 
 220     PyObject 
* _argo0 
= 0; 
 221     char *_kwnames
[] = { "self", NULL 
}; 
 224     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_IsDefault",_kwnames
,&_argo0
))  
 227         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 228         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 229             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_IsDefault. Expected _wxNativeFontInfo_p."); 
 234     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 235     _result 
= (bool )wxNativeFontInfo_IsDefault(_arg0
); 
 237     wxPyEndAllowThreads(__tstate
); 
 238     if (PyErr_Occurred()) return NULL
; 
 239 }    _resultobj 
= Py_BuildValue("i",_result
); 
 243 #define wxNativeFontInfo_GetXFontName(_swigobj)  (_swigobj->GetXFontName()) 
 244 static PyObject 
*_wrap_wxNativeFontInfo_GetXFontName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 245     PyObject 
* _resultobj
; 
 247     wxNativeFontInfo 
* _arg0
; 
 248     PyObject 
* _argo0 
= 0; 
 249     char *_kwnames
[] = { "self", NULL 
}; 
 252     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetXFontName",_kwnames
,&_argo0
))  
 255         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 256         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 257             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetXFontName. Expected _wxNativeFontInfo_p."); 
 262     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 263     _result 
= new wxString (wxNativeFontInfo_GetXFontName(_arg0
)); 
 265     wxPyEndAllowThreads(__tstate
); 
 266     if (PyErr_Occurred()) return NULL
; 
 269     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 271     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 280 #define wxNativeFontInfo_SetXFontName(_swigobj,_swigarg0)  (_swigobj->SetXFontName(_swigarg0)) 
 281 static PyObject 
*_wrap_wxNativeFontInfo_SetXFontName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 282     PyObject 
* _resultobj
; 
 283     wxNativeFontInfo 
* _arg0
; 
 285     PyObject 
* _argo0 
= 0; 
 286     PyObject 
* _obj1 
= 0; 
 287     char *_kwnames
[] = { "self","xFontName", NULL 
}; 
 290     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetXFontName",_kwnames
,&_argo0
,&_obj1
))  
 293         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 294         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 295             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetXFontName. Expected _wxNativeFontInfo_p."); 
 300     _arg1 
= wxString_in_helper(_obj1
); 
 305     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 306     wxNativeFontInfo_SetXFontName(_arg0
,*_arg1
); 
 308     wxPyEndAllowThreads(__tstate
); 
 309     if (PyErr_Occurred()) return NULL
; 
 310 }    Py_INCREF(Py_None
); 
 311     _resultobj 
= Py_None
; 
 319 #define new_wxNativeFontInfo() (new wxNativeFontInfo()) 
 320 static PyObject 
*_wrap_new_wxNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 321     PyObject 
* _resultobj
; 
 322     wxNativeFontInfo 
* _result
; 
 323     char *_kwnames
[] = {  NULL 
}; 
 327     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))  
 330     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 331     _result 
= (wxNativeFontInfo 
*)new_wxNativeFontInfo(); 
 333     wxPyEndAllowThreads(__tstate
); 
 334     if (PyErr_Occurred()) return NULL
; 
 336         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p"); 
 337         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 340         _resultobj 
= Py_None
; 
 345 #define wxNativeFontInfo_Init(_swigobj)  (_swigobj->Init()) 
 346 static PyObject 
*_wrap_wxNativeFontInfo_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 347     PyObject 
* _resultobj
; 
 348     wxNativeFontInfo 
* _arg0
; 
 349     PyObject 
* _argo0 
= 0; 
 350     char *_kwnames
[] = { "self", NULL 
}; 
 353     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))  
 356         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 357         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 358             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p."); 
 363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 364     wxNativeFontInfo_Init(_arg0
); 
 366     wxPyEndAllowThreads(__tstate
); 
 367     if (PyErr_Occurred()) return NULL
; 
 368 }    Py_INCREF(Py_None
); 
 369     _resultobj 
= Py_None
; 
 373 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0)  (_swigobj->FromString(_swigarg0)) 
 374 static PyObject 
*_wrap_wxNativeFontInfo_FromString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 375     PyObject 
* _resultobj
; 
 377     wxNativeFontInfo 
* _arg0
; 
 379     PyObject 
* _argo0 
= 0; 
 380     PyObject 
* _obj1 
= 0; 
 381     char *_kwnames
[] = { "self","s", NULL 
}; 
 384     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))  
 387         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 388         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 389             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p."); 
 394     _arg1 
= wxString_in_helper(_obj1
); 
 399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 400     _result 
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
); 
 402     wxPyEndAllowThreads(__tstate
); 
 403     if (PyErr_Occurred()) return NULL
; 
 404 }    _resultobj 
= Py_BuildValue("i",_result
); 
 412 #define wxNativeFontInfo_ToString(_swigobj)  (_swigobj->ToString()) 
 413 static PyObject 
*_wrap_wxNativeFontInfo_ToString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 414     PyObject 
* _resultobj
; 
 416     wxNativeFontInfo 
* _arg0
; 
 417     PyObject 
* _argo0 
= 0; 
 418     char *_kwnames
[] = { "self", NULL 
}; 
 421     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))  
 424         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 425         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 426             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p."); 
 431     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 432     _result 
= new wxString (wxNativeFontInfo_ToString(_arg0
)); 
 434     wxPyEndAllowThreads(__tstate
); 
 435     if (PyErr_Occurred()) return NULL
; 
 438     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 440     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 449 static wxString  
wxNativeFontInfo___str__(wxNativeFontInfo 
*self
) { 
 450             return self
->ToString(); 
 452 static PyObject 
*_wrap_wxNativeFontInfo___str__(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 453     PyObject 
* _resultobj
; 
 455     wxNativeFontInfo 
* _arg0
; 
 456     PyObject 
* _argo0 
= 0; 
 457     char *_kwnames
[] = { "self", NULL 
}; 
 460     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))  
 463         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 464         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 465             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p."); 
 470     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 471     _result 
= new wxString (wxNativeFontInfo___str__(_arg0
)); 
 473     wxPyEndAllowThreads(__tstate
); 
 474     if (PyErr_Occurred()) return NULL
; 
 477     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 479     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 488 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0)  (_swigobj->FromUserString(_swigarg0)) 
 489 static PyObject 
*_wrap_wxNativeFontInfo_FromUserString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 490     PyObject 
* _resultobj
; 
 492     wxNativeFontInfo 
* _arg0
; 
 494     PyObject 
* _argo0 
= 0; 
 495     PyObject 
* _obj1 
= 0; 
 496     char *_kwnames
[] = { "self","s", NULL 
}; 
 499     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))  
 502         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 503         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 504             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p."); 
 509     _arg1 
= wxString_in_helper(_obj1
); 
 514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 515     _result 
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
); 
 517     wxPyEndAllowThreads(__tstate
); 
 518     if (PyErr_Occurred()) return NULL
; 
 519 }    _resultobj 
= Py_BuildValue("i",_result
); 
 527 #define wxNativeFontInfo_ToUserString(_swigobj)  (_swigobj->ToUserString()) 
 528 static PyObject 
*_wrap_wxNativeFontInfo_ToUserString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 529     PyObject 
* _resultobj
; 
 531     wxNativeFontInfo 
* _arg0
; 
 532     PyObject 
* _argo0 
= 0; 
 533     char *_kwnames
[] = { "self", NULL 
}; 
 536     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))  
 539         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 540         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
 541             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p."); 
 546     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 547     _result 
= new wxString (wxNativeFontInfo_ToUserString(_arg0
)); 
 549     wxPyEndAllowThreads(__tstate
); 
 550     if (PyErr_Occurred()) return NULL
; 
 553     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 555     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 564 #define new_wxFontMapper() (new wxFontMapper()) 
 565 static PyObject 
*_wrap_new_wxFontMapper(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 566     PyObject 
* _resultobj
; 
 567     wxFontMapper 
* _result
; 
 568     char *_kwnames
[] = {  NULL 
}; 
 572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))  
 575     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 576     _result 
= (wxFontMapper 
*)new_wxFontMapper(); 
 578     wxPyEndAllowThreads(__tstate
); 
 579     if (PyErr_Occurred()) return NULL
; 
 581         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p"); 
 582         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 585         _resultobj 
= Py_None
; 
 590 #define delete_wxFontMapper(_swigobj) (delete _swigobj) 
 591 static PyObject 
*_wrap_delete_wxFontMapper(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 592     PyObject 
* _resultobj
; 
 593     wxFontMapper 
* _arg0
; 
 594     PyObject 
* _argo0 
= 0; 
 595     char *_kwnames
[] = { "self", NULL 
}; 
 598     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))  
 601         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 602         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 603             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p."); 
 608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 609     delete_wxFontMapper(_arg0
); 
 611     wxPyEndAllowThreads(__tstate
); 
 612     if (PyErr_Occurred()) return NULL
; 
 613 }    Py_INCREF(Py_None
); 
 614     _resultobj 
= Py_None
; 
 618 static PyObject 
*_wrap_wxFontMapper_Get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 619     PyObject 
* _resultobj
; 
 620     wxFontMapper 
* _result
; 
 621     char *_kwnames
[] = {  NULL 
}; 
 625     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_Get",_kwnames
))  
 628     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 629     _result 
= (wxFontMapper 
*)wxFontMapper::Get(); 
 631     wxPyEndAllowThreads(__tstate
); 
 632     if (PyErr_Occurred()) return NULL
; 
 634         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p"); 
 635         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 638         _resultobj 
= Py_None
; 
 643 static PyObject 
*_wrap_wxFontMapper_Set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 644     PyObject 
* _resultobj
; 
 645     wxFontMapper 
* _result
; 
 646     wxFontMapper 
* _arg0
; 
 647     PyObject 
* _argo0 
= 0; 
 648     char *_kwnames
[] = { "mapper", NULL 
}; 
 652     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontMapper_Set",_kwnames
,&_argo0
))  
 655         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 656         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 657             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_Set. Expected _wxFontMapper_p."); 
 662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 663     _result 
= (wxFontMapper 
*)wxFontMapper::Set(_arg0
); 
 665     wxPyEndAllowThreads(__tstate
); 
 666     if (PyErr_Occurred()) return NULL
; 
 668         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p"); 
 669         _resultobj 
= Py_BuildValue("s",_ptemp
); 
 672         _resultobj 
= Py_None
; 
 677 static PyObject 
* wxFontMapper_GetAltForEncoding(wxFontMapper 
*self
,wxFontEncoding  encoding
,const wxString 
& facename
,bool  interactive
) { 
 678             wxFontEncoding alt_enc
; 
 679             if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
)) 
 680                 return PyInt_FromLong(alt_enc
); 
 686 static PyObject 
*_wrap_wxFontMapper_GetAltForEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 687     PyObject 
* _resultobj
; 
 689     wxFontMapper 
* _arg0
; 
 690     wxFontEncoding  _arg1
; 
 691     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
 692     bool  _arg3 
= (bool ) TRUE
; 
 693     PyObject 
* _argo0 
= 0; 
 694     PyObject 
* _obj2 
= 0; 
 695     int tempbool3 
= (int) TRUE
; 
 696     char *_kwnames
[] = { "self","encoding","facename","interactive", NULL 
}; 
 699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))  
 702         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 703         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 704             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p."); 
 710     _arg2 
= wxString_in_helper(_obj2
); 
 714     _arg3 
= (bool ) tempbool3
; 
 716     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 717     _result 
= (PyObject 
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
); 
 719     wxPyEndAllowThreads(__tstate
); 
 720     if (PyErr_Occurred()) return NULL
; 
 722   _resultobj 
= _result
; 
 731 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1)  (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1)) 
 732 static PyObject 
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 733     PyObject 
* _resultobj
; 
 735     wxFontMapper 
* _arg0
; 
 736     wxFontEncoding  _arg1
; 
 737     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
 738     PyObject 
* _argo0 
= 0; 
 739     PyObject 
* _obj2 
= 0; 
 740     char *_kwnames
[] = { "self","encoding","facename", NULL 
}; 
 743     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))  
 746         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 747         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 748             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p."); 
 754     _arg2 
= wxString_in_helper(_obj2
); 
 759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 760     _result 
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
); 
 762     wxPyEndAllowThreads(__tstate
); 
 763     if (PyErr_Occurred()) return NULL
; 
 764 }    _resultobj 
= Py_BuildValue("i",_result
); 
 772 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1)  (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1)) 
 773 static PyObject 
*_wrap_wxFontMapper_CharsetToEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 774     PyObject 
* _resultobj
; 
 775     wxFontEncoding  _result
; 
 776     wxFontMapper 
* _arg0
; 
 778     bool  _arg2 
= (bool ) TRUE
; 
 779     PyObject 
* _argo0 
= 0; 
 780     PyObject 
* _obj1 
= 0; 
 781     int tempbool2 
= (int) TRUE
; 
 782     char *_kwnames
[] = { "self","charset","interactive", NULL 
}; 
 785     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))  
 788         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 789         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 790             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p."); 
 795     _arg1 
= wxString_in_helper(_obj1
); 
 799     _arg2 
= (bool ) tempbool2
; 
 801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 802     _result 
= (wxFontEncoding 
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
); 
 804     wxPyEndAllowThreads(__tstate
); 
 805     if (PyErr_Occurred()) return NULL
; 
 806 }    _resultobj 
= Py_BuildValue("i",_result
); 
 814 static PyObject 
*_wrap_wxFontMapper_GetEncodingName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 815     PyObject 
* _resultobj
; 
 817     wxFontEncoding  _arg0
; 
 818     char *_kwnames
[] = { "encoding", NULL 
}; 
 821     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))  
 824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 825     _result 
= new wxString (wxFontMapper::GetEncodingName(_arg0
)); 
 827     wxPyEndAllowThreads(__tstate
); 
 828     if (PyErr_Occurred()) return NULL
; 
 831     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 833     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 842 static PyObject 
*_wrap_wxFontMapper_GetEncodingDescription(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 843     PyObject 
* _resultobj
; 
 845     wxFontEncoding  _arg0
; 
 846     char *_kwnames
[] = { "encoding", NULL 
}; 
 849     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))  
 852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 853     _result 
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
)); 
 855     wxPyEndAllowThreads(__tstate
); 
 856     if (PyErr_Occurred()) return NULL
; 
 859     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
 861     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
 870 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0)  (_swigobj->SetDialogParent(_swigarg0)) 
 871 static PyObject 
*_wrap_wxFontMapper_SetDialogParent(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 872     PyObject 
* _resultobj
; 
 873     wxFontMapper 
* _arg0
; 
 875     PyObject 
* _argo0 
= 0; 
 876     PyObject 
* _argo1 
= 0; 
 877     char *_kwnames
[] = { "self","parent", NULL 
}; 
 880     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))  
 883         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 884         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 885             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p."); 
 890         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
 891         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) { 
 892             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p."); 
 897     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 898     wxFontMapper_SetDialogParent(_arg0
,_arg1
); 
 900     wxPyEndAllowThreads(__tstate
); 
 901     if (PyErr_Occurred()) return NULL
; 
 902 }    Py_INCREF(Py_None
); 
 903     _resultobj 
= Py_None
; 
 907 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0)  (_swigobj->SetDialogTitle(_swigarg0)) 
 908 static PyObject 
*_wrap_wxFontMapper_SetDialogTitle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 909     PyObject 
* _resultobj
; 
 910     wxFontMapper 
* _arg0
; 
 912     PyObject 
* _argo0 
= 0; 
 913     PyObject 
* _obj1 
= 0; 
 914     char *_kwnames
[] = { "self","title", NULL 
}; 
 917     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))  
 920         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 921         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 922             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p."); 
 927     _arg1 
= wxString_in_helper(_obj1
); 
 932     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 933     wxFontMapper_SetDialogTitle(_arg0
,*_arg1
); 
 935     wxPyEndAllowThreads(__tstate
); 
 936     if (PyErr_Occurred()) return NULL
; 
 937 }    Py_INCREF(Py_None
); 
 938     _resultobj 
= Py_None
; 
 946 #define wxFontMapper_SetConfig(_swigobj,_swigarg0)  (_swigobj->SetConfig(_swigarg0)) 
 947 static PyObject 
*_wrap_wxFontMapper_SetConfig(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 948     PyObject 
* _resultobj
; 
 949     wxFontMapper 
* _arg0
; 
 950     wxConfigBase 
* _arg1
; 
 951     PyObject 
* _argo0 
= 0; 
 952     PyObject 
* _argo1 
= 0; 
 953     char *_kwnames
[] = { "self","config", NULL 
}; 
 956     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))  
 959         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 960         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 961             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p."); 
 966         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
 967         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) { 
 968             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p."); 
 973     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
 974     wxFontMapper_SetConfig(_arg0
,_arg1
); 
 976     wxPyEndAllowThreads(__tstate
); 
 977     if (PyErr_Occurred()) return NULL
; 
 978 }    Py_INCREF(Py_None
); 
 979     _resultobj 
= Py_None
; 
 983 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0)  (_swigobj->SetConfigPath(_swigarg0)) 
 984 static PyObject 
*_wrap_wxFontMapper_SetConfigPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
 985     PyObject 
* _resultobj
; 
 986     wxFontMapper 
* _arg0
; 
 988     PyObject 
* _argo0 
= 0; 
 989     PyObject 
* _obj1 
= 0; 
 990     char *_kwnames
[] = { "self","prefix", NULL 
}; 
 993     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))  
 996         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
 997         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) { 
 998             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p."); 
1003     _arg1 
= wxString_in_helper(_obj1
); 
1008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1009     wxFontMapper_SetConfigPath(_arg0
,*_arg1
); 
1011     wxPyEndAllowThreads(__tstate
); 
1012     if (PyErr_Occurred()) return NULL
; 
1013 }    Py_INCREF(Py_None
); 
1014     _resultobj 
= Py_None
; 
1022 static PyObject 
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1023     PyObject 
* _resultobj
; 
1025     char *_kwnames
[] = {  NULL 
}; 
1028     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))  
1031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1032     _result 
= new wxString (wxFontMapper::GetDefaultConfigPath()); 
1034     wxPyEndAllowThreads(__tstate
); 
1035     if (PyErr_Occurred()) return NULL
; 
1038     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1040     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1049 static void *SwigwxFontTowxObject(void *ptr
) { 
1052     src 
= (wxFont 
*) ptr
; 
1053     dest 
= (wxObject 
*) src
; 
1054     return (void *) dest
; 
1057 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
1058 static PyObject 
*_wrap_new_wxFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1059     PyObject 
* _resultobj
; 
1065     int  _arg4 
= (int ) FALSE
; 
1066     wxString 
* _arg5 
= (wxString 
*) &wxPyEmptyString
; 
1067     wxFontEncoding  _arg6 
= (wxFontEncoding 
) (wxFONTENCODING_DEFAULT
); 
1068     PyObject 
* _obj5 
= 0; 
1069     char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL 
}; 
1073     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))  
1077     _arg5 
= wxString_in_helper(_obj5
); 
1082     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1083     _result 
= (wxFont 
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
); 
1085     wxPyEndAllowThreads(__tstate
); 
1086     if (PyErr_Occurred()) return NULL
; 
1088         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p"); 
1089         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1092         _resultobj 
= Py_None
; 
1101 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0)) 
1102 static PyObject 
*_wrap_new_wxFontFromNativeInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1103     PyObject 
* _resultobj
; 
1105     wxNativeFontInfo 
* _arg0
; 
1106     PyObject 
* _argo0 
= 0; 
1107     char *_kwnames
[] = { "info", NULL 
}; 
1111     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))  
1114         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1115         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) { 
1116             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p."); 
1121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1122     _result 
= (wxFont 
*)new_wxFontFromNativeInfo(*_arg0
); 
1124     wxPyEndAllowThreads(__tstate
); 
1125     if (PyErr_Occurred()) return NULL
; 
1127         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p"); 
1128         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1131         _resultobj 
= Py_None
; 
1136 #define delete_wxFont(_swigobj) (delete _swigobj) 
1137 static PyObject 
*_wrap_delete_wxFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1138     PyObject 
* _resultobj
; 
1140     PyObject 
* _argo0 
= 0; 
1141     char *_kwnames
[] = { "self", NULL 
}; 
1144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))  
1147         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1148         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1149             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p."); 
1154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1155     delete_wxFont(_arg0
); 
1157     wxPyEndAllowThreads(__tstate
); 
1158     if (PyErr_Occurred()) return NULL
; 
1159 }    Py_INCREF(Py_None
); 
1160     _resultobj 
= Py_None
; 
1164 #define wxFont_Ok(_swigobj)  (_swigobj->Ok()) 
1165 static PyObject 
*_wrap_wxFont_Ok(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1166     PyObject 
* _resultobj
; 
1169     PyObject 
* _argo0 
= 0; 
1170     char *_kwnames
[] = { "self", NULL 
}; 
1173     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))  
1176         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1177         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1178             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p."); 
1183     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1184     _result 
= (bool )wxFont_Ok(_arg0
); 
1186     wxPyEndAllowThreads(__tstate
); 
1187     if (PyErr_Occurred()) return NULL
; 
1188 }    _resultobj 
= Py_BuildValue("i",_result
); 
1192 #define wxFont_GetPointSize(_swigobj)  (_swigobj->GetPointSize()) 
1193 static PyObject 
*_wrap_wxFont_GetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1194     PyObject 
* _resultobj
; 
1197     PyObject 
* _argo0 
= 0; 
1198     char *_kwnames
[] = { "self", NULL 
}; 
1201     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))  
1204         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1205         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1206             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p."); 
1211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1212     _result 
= (int )wxFont_GetPointSize(_arg0
); 
1214     wxPyEndAllowThreads(__tstate
); 
1215     if (PyErr_Occurred()) return NULL
; 
1216 }    _resultobj 
= Py_BuildValue("i",_result
); 
1220 #define wxFont_GetFamily(_swigobj)  (_swigobj->GetFamily()) 
1221 static PyObject 
*_wrap_wxFont_GetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1222     PyObject 
* _resultobj
; 
1225     PyObject 
* _argo0 
= 0; 
1226     char *_kwnames
[] = { "self", NULL 
}; 
1229     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))  
1232         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1233         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1234             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p."); 
1239     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1240     _result 
= (int )wxFont_GetFamily(_arg0
); 
1242     wxPyEndAllowThreads(__tstate
); 
1243     if (PyErr_Occurred()) return NULL
; 
1244 }    _resultobj 
= Py_BuildValue("i",_result
); 
1248 #define wxFont_GetStyle(_swigobj)  (_swigobj->GetStyle()) 
1249 static PyObject 
*_wrap_wxFont_GetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1250     PyObject 
* _resultobj
; 
1253     PyObject 
* _argo0 
= 0; 
1254     char *_kwnames
[] = { "self", NULL 
}; 
1257     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))  
1260         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1261         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1262             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p."); 
1267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1268     _result 
= (int )wxFont_GetStyle(_arg0
); 
1270     wxPyEndAllowThreads(__tstate
); 
1271     if (PyErr_Occurred()) return NULL
; 
1272 }    _resultobj 
= Py_BuildValue("i",_result
); 
1276 #define wxFont_GetWeight(_swigobj)  (_swigobj->GetWeight()) 
1277 static PyObject 
*_wrap_wxFont_GetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1278     PyObject 
* _resultobj
; 
1281     PyObject 
* _argo0 
= 0; 
1282     char *_kwnames
[] = { "self", NULL 
}; 
1285     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))  
1288         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1289         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1290             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p."); 
1295     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1296     _result 
= (int )wxFont_GetWeight(_arg0
); 
1298     wxPyEndAllowThreads(__tstate
); 
1299     if (PyErr_Occurred()) return NULL
; 
1300 }    _resultobj 
= Py_BuildValue("i",_result
); 
1304 #define wxFont_GetUnderlined(_swigobj)  (_swigobj->GetUnderlined()) 
1305 static PyObject 
*_wrap_wxFont_GetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1306     PyObject 
* _resultobj
; 
1309     PyObject 
* _argo0 
= 0; 
1310     char *_kwnames
[] = { "self", NULL 
}; 
1313     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))  
1316         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1317         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1318             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p."); 
1323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1324     _result 
= (bool )wxFont_GetUnderlined(_arg0
); 
1326     wxPyEndAllowThreads(__tstate
); 
1327     if (PyErr_Occurred()) return NULL
; 
1328 }    _resultobj 
= Py_BuildValue("i",_result
); 
1332 #define wxFont_GetFaceName(_swigobj)  (_swigobj->GetFaceName()) 
1333 static PyObject 
*_wrap_wxFont_GetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1334     PyObject 
* _resultobj
; 
1337     PyObject 
* _argo0 
= 0; 
1338     char *_kwnames
[] = { "self", NULL 
}; 
1341     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))  
1344         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1345         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1346             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p."); 
1351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1352     _result 
= new wxString (wxFont_GetFaceName(_arg0
)); 
1354     wxPyEndAllowThreads(__tstate
); 
1355     if (PyErr_Occurred()) return NULL
; 
1358     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1360     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1369 #define wxFont_GetEncoding(_swigobj)  (_swigobj->GetEncoding()) 
1370 static PyObject 
*_wrap_wxFont_GetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1371     PyObject 
* _resultobj
; 
1372     wxFontEncoding  _result
; 
1374     PyObject 
* _argo0 
= 0; 
1375     char *_kwnames
[] = { "self", NULL 
}; 
1378     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))  
1381         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1382         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1383             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p."); 
1388     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1389     _result 
= (wxFontEncoding 
)wxFont_GetEncoding(_arg0
); 
1391     wxPyEndAllowThreads(__tstate
); 
1392     if (PyErr_Occurred()) return NULL
; 
1393 }    _resultobj 
= Py_BuildValue("i",_result
); 
1397 #define wxFont_IsFixedWidth(_swigobj)  (_swigobj->IsFixedWidth()) 
1398 static PyObject 
*_wrap_wxFont_IsFixedWidth(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1399     PyObject 
* _resultobj
; 
1402     PyObject 
* _argo0 
= 0; 
1403     char *_kwnames
[] = { "self", NULL 
}; 
1406     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))  
1409         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1410         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1411             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p."); 
1416     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1417     _result 
= (bool )wxFont_IsFixedWidth(_arg0
); 
1419     wxPyEndAllowThreads(__tstate
); 
1420     if (PyErr_Occurred()) return NULL
; 
1421 }    _resultobj 
= Py_BuildValue("i",_result
); 
1425 #define wxFont_GetNativeFontInfo(_swigobj)  (_swigobj->GetNativeFontInfo()) 
1426 static PyObject 
*_wrap_wxFont_GetNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1427     PyObject 
* _resultobj
; 
1428     wxNativeFontInfo 
* _result
; 
1430     PyObject 
* _argo0 
= 0; 
1431     char *_kwnames
[] = { "self", NULL 
}; 
1435     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))  
1438         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1439         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1440             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p."); 
1445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1446     _result 
= (wxNativeFontInfo 
*)wxFont_GetNativeFontInfo(_arg0
); 
1448     wxPyEndAllowThreads(__tstate
); 
1449     if (PyErr_Occurred()) return NULL
; 
1451         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p"); 
1452         _resultobj 
= Py_BuildValue("s",_ptemp
); 
1455         _resultobj 
= Py_None
; 
1460 #define wxFont_GetNativeFontInfoDesc(_swigobj)  (_swigobj->GetNativeFontInfoDesc()) 
1461 static PyObject 
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1462     PyObject 
* _resultobj
; 
1465     PyObject 
* _argo0 
= 0; 
1466     char *_kwnames
[] = { "self", NULL 
}; 
1469     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))  
1472         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1473         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1474             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p."); 
1479     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1480     _result 
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
)); 
1482     wxPyEndAllowThreads(__tstate
); 
1483     if (PyErr_Occurred()) return NULL
; 
1486     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1488     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1497 #define wxFont_GetNativeFontInfoUserDesc(_swigobj)  (_swigobj->GetNativeFontInfoUserDesc()) 
1498 static PyObject 
*_wrap_wxFont_GetNativeFontInfoUserDesc(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_GetNativeFontInfoUserDesc",_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_GetNativeFontInfoUserDesc. Expected _wxFont_p."); 
1516     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1517     _result 
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
)); 
1519     wxPyEndAllowThreads(__tstate
); 
1520     if (PyErr_Occurred()) return NULL
; 
1523     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1525     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1534 #define wxFont_SetPointSize(_swigobj,_swigarg0)  (_swigobj->SetPointSize(_swigarg0)) 
1535 static PyObject 
*_wrap_wxFont_SetPointSize(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1536     PyObject 
* _resultobj
; 
1539     PyObject 
* _argo0 
= 0; 
1540     char *_kwnames
[] = { "self","pointSize", NULL 
}; 
1543     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))  
1546         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1547         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1548             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p."); 
1553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1554     wxFont_SetPointSize(_arg0
,_arg1
); 
1556     wxPyEndAllowThreads(__tstate
); 
1557     if (PyErr_Occurred()) return NULL
; 
1558 }    Py_INCREF(Py_None
); 
1559     _resultobj 
= Py_None
; 
1563 #define wxFont_SetFamily(_swigobj,_swigarg0)  (_swigobj->SetFamily(_swigarg0)) 
1564 static PyObject 
*_wrap_wxFont_SetFamily(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1565     PyObject 
* _resultobj
; 
1568     PyObject 
* _argo0 
= 0; 
1569     char *_kwnames
[] = { "self","family", NULL 
}; 
1572     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))  
1575         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1576         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1577             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p."); 
1582     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1583     wxFont_SetFamily(_arg0
,_arg1
); 
1585     wxPyEndAllowThreads(__tstate
); 
1586     if (PyErr_Occurred()) return NULL
; 
1587 }    Py_INCREF(Py_None
); 
1588     _resultobj 
= Py_None
; 
1592 #define wxFont_SetStyle(_swigobj,_swigarg0)  (_swigobj->SetStyle(_swigarg0)) 
1593 static PyObject 
*_wrap_wxFont_SetStyle(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1594     PyObject 
* _resultobj
; 
1597     PyObject 
* _argo0 
= 0; 
1598     char *_kwnames
[] = { "self","style", NULL 
}; 
1601     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))  
1604         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1605         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1606             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p."); 
1611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1612     wxFont_SetStyle(_arg0
,_arg1
); 
1614     wxPyEndAllowThreads(__tstate
); 
1615     if (PyErr_Occurred()) return NULL
; 
1616 }    Py_INCREF(Py_None
); 
1617     _resultobj 
= Py_None
; 
1621 #define wxFont_SetWeight(_swigobj,_swigarg0)  (_swigobj->SetWeight(_swigarg0)) 
1622 static PyObject 
*_wrap_wxFont_SetWeight(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1623     PyObject 
* _resultobj
; 
1626     PyObject 
* _argo0 
= 0; 
1627     char *_kwnames
[] = { "self","weight", NULL 
}; 
1630     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))  
1633         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1634         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1635             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p."); 
1640     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1641     wxFont_SetWeight(_arg0
,_arg1
); 
1643     wxPyEndAllowThreads(__tstate
); 
1644     if (PyErr_Occurred()) return NULL
; 
1645 }    Py_INCREF(Py_None
); 
1646     _resultobj 
= Py_None
; 
1650 #define wxFont_SetFaceName(_swigobj,_swigarg0)  (_swigobj->SetFaceName(_swigarg0)) 
1651 static PyObject 
*_wrap_wxFont_SetFaceName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1652     PyObject 
* _resultobj
; 
1655     PyObject 
* _argo0 
= 0; 
1656     PyObject 
* _obj1 
= 0; 
1657     char *_kwnames
[] = { "self","faceName", NULL 
}; 
1660     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))  
1663         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1664         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1665             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p."); 
1670     _arg1 
= wxString_in_helper(_obj1
); 
1675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1676     wxFont_SetFaceName(_arg0
,*_arg1
); 
1678     wxPyEndAllowThreads(__tstate
); 
1679     if (PyErr_Occurred()) return NULL
; 
1680 }    Py_INCREF(Py_None
); 
1681     _resultobj 
= Py_None
; 
1689 #define wxFont_SetUnderlined(_swigobj,_swigarg0)  (_swigobj->SetUnderlined(_swigarg0)) 
1690 static PyObject 
*_wrap_wxFont_SetUnderlined(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1691     PyObject 
* _resultobj
; 
1694     PyObject 
* _argo0 
= 0; 
1696     char *_kwnames
[] = { "self","underlined", NULL 
}; 
1699     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))  
1702         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1703         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1704             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p."); 
1708     _arg1 
= (bool ) tempbool1
; 
1710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1711     wxFont_SetUnderlined(_arg0
,_arg1
); 
1713     wxPyEndAllowThreads(__tstate
); 
1714     if (PyErr_Occurred()) return NULL
; 
1715 }    Py_INCREF(Py_None
); 
1716     _resultobj 
= Py_None
; 
1720 #define wxFont_SetEncoding(_swigobj,_swigarg0)  (_swigobj->SetEncoding(_swigarg0)) 
1721 static PyObject 
*_wrap_wxFont_SetEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1722     PyObject 
* _resultobj
; 
1724     wxFontEncoding  _arg1
; 
1725     PyObject 
* _argo0 
= 0; 
1726     char *_kwnames
[] = { "self","encoding", NULL 
}; 
1729     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))  
1732         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1733         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1734             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p."); 
1739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1740     wxFont_SetEncoding(_arg0
,_arg1
); 
1742     wxPyEndAllowThreads(__tstate
); 
1743     if (PyErr_Occurred()) return NULL
; 
1744 }    Py_INCREF(Py_None
); 
1745     _resultobj 
= Py_None
; 
1749 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0)  (_swigobj->SetNativeFontInfo(_swigarg0)) 
1750 static PyObject 
*_wrap_wxFont_SetNativeFontInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1751     PyObject 
* _resultobj
; 
1753     wxNativeFontInfo 
* _arg1
; 
1754     PyObject 
* _argo0 
= 0; 
1755     PyObject 
* _argo1 
= 0; 
1756     char *_kwnames
[] = { "self","info", NULL 
}; 
1759     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))  
1762         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1763         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1764             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p."); 
1769         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
1770         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) { 
1771             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p."); 
1776     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1777     wxFont_SetNativeFontInfo(_arg0
,*_arg1
); 
1779     wxPyEndAllowThreads(__tstate
); 
1780     if (PyErr_Occurred()) return NULL
; 
1781 }    Py_INCREF(Py_None
); 
1782     _resultobj 
= Py_None
; 
1786 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0)  (_swigobj->SetNativeFontInfoUserDesc(_swigarg0)) 
1787 static PyObject 
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1788     PyObject 
* _resultobj
; 
1791     PyObject 
* _argo0 
= 0; 
1792     PyObject 
* _obj1 
= 0; 
1793     char *_kwnames
[] = { "self","info", NULL 
}; 
1796     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))  
1799         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1800         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1801             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p."); 
1806     _arg1 
= wxString_in_helper(_obj1
); 
1811     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1812     wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
); 
1814     wxPyEndAllowThreads(__tstate
); 
1815     if (PyErr_Occurred()) return NULL
; 
1816 }    Py_INCREF(Py_None
); 
1817     _resultobj 
= Py_None
; 
1825 #define wxFont_GetFamilyString(_swigobj)  (_swigobj->GetFamilyString()) 
1826 static PyObject 
*_wrap_wxFont_GetFamilyString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1827     PyObject 
* _resultobj
; 
1830     PyObject 
* _argo0 
= 0; 
1831     char *_kwnames
[] = { "self", NULL 
}; 
1834     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))  
1837         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1838         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1839             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p."); 
1844     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1845     _result 
= new wxString (wxFont_GetFamilyString(_arg0
)); 
1847     wxPyEndAllowThreads(__tstate
); 
1848     if (PyErr_Occurred()) return NULL
; 
1851     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1853     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1862 #define wxFont_GetStyleString(_swigobj)  (_swigobj->GetStyleString()) 
1863 static PyObject 
*_wrap_wxFont_GetStyleString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1864     PyObject 
* _resultobj
; 
1867     PyObject 
* _argo0 
= 0; 
1868     char *_kwnames
[] = { "self", NULL 
}; 
1871     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))  
1874         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1875         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1876             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p."); 
1881     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1882     _result 
= new wxString (wxFont_GetStyleString(_arg0
)); 
1884     wxPyEndAllowThreads(__tstate
); 
1885     if (PyErr_Occurred()) return NULL
; 
1888     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1890     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1899 #define wxFont_GetWeightString(_swigobj)  (_swigobj->GetWeightString()) 
1900 static PyObject 
*_wrap_wxFont_GetWeightString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1901     PyObject 
* _resultobj
; 
1904     PyObject 
* _argo0 
= 0; 
1905     char *_kwnames
[] = { "self", NULL 
}; 
1908     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))  
1911         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1912         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) { 
1913             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p."); 
1918     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1919     _result 
= new wxString (wxFont_GetWeightString(_arg0
)); 
1921     wxPyEndAllowThreads(__tstate
); 
1922     if (PyErr_Occurred()) return NULL
; 
1925     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
1927     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
1936 static PyObject 
*_wrap_wxFont_GetDefaultEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1937     PyObject 
* _resultobj
; 
1938     wxFontEncoding  _result
; 
1939     char *_kwnames
[] = {  NULL 
}; 
1942     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))  
1945     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1946     _result 
= (wxFontEncoding 
)wxFont::GetDefaultEncoding(); 
1948     wxPyEndAllowThreads(__tstate
); 
1949     if (PyErr_Occurred()) return NULL
; 
1950 }    _resultobj 
= Py_BuildValue("i",_result
); 
1954 static PyObject 
*_wrap_wxFont_SetDefaultEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1955     PyObject 
* _resultobj
; 
1956     wxFontEncoding  _arg0
; 
1957     char *_kwnames
[] = { "encoding", NULL 
}; 
1960     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))  
1963     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
1964     wxFont::SetDefaultEncoding(_arg0
); 
1966     wxPyEndAllowThreads(__tstate
); 
1967     if (PyErr_Occurred()) return NULL
; 
1968 }    Py_INCREF(Py_None
); 
1969     _resultobj 
= Py_None
; 
1973 static void *SwigwxFontListTowxObject(void *ptr
) { 
1976     src 
= (wxFontList 
*) ptr
; 
1977     dest 
= (wxObject 
*) src
; 
1978     return (void *) dest
; 
1981 #define wxFontList_AddFont(_swigobj,_swigarg0)  (_swigobj->AddFont(_swigarg0)) 
1982 static PyObject 
*_wrap_wxFontList_AddFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
1983     PyObject 
* _resultobj
; 
1986     PyObject 
* _argo0 
= 0; 
1987     PyObject 
* _argo1 
= 0; 
1988     char *_kwnames
[] = { "self","font", NULL 
}; 
1991     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))  
1994         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
1995         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
1996             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p."); 
2001         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2002         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
2003             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p."); 
2008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2009     wxFontList_AddFont(_arg0
,_arg1
); 
2011     wxPyEndAllowThreads(__tstate
); 
2012     if (PyErr_Occurred()) return NULL
; 
2013 }    Py_INCREF(Py_None
); 
2014     _resultobj 
= Py_None
; 
2018 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)  (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) 
2019 static PyObject 
*_wrap_wxFontList_FindOrCreateFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2020     PyObject 
* _resultobj
; 
2027     bool  _arg5 
= (bool ) FALSE
; 
2028     wxString 
* _arg6 
= (wxString 
*) &wxPyEmptyString
; 
2029     wxFontEncoding  _arg7 
= (wxFontEncoding 
) (wxFONTENCODING_DEFAULT
); 
2030     PyObject 
* _argo0 
= 0; 
2031     int tempbool5 
= (int) FALSE
; 
2032     PyObject 
* _obj6 
= 0; 
2033     char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL 
}; 
2037     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))  
2040         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2041         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2042             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p."); 
2046     _arg5 
= (bool ) tempbool5
; 
2049     _arg6 
= wxString_in_helper(_obj6
); 
2054     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2055     _result 
= (wxFont 
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
); 
2057     wxPyEndAllowThreads(__tstate
); 
2058     if (PyErr_Occurred()) return NULL
; 
2060         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p"); 
2061         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2064         _resultobj 
= Py_None
; 
2073 #define wxFontList_RemoveFont(_swigobj,_swigarg0)  (_swigobj->RemoveFont(_swigarg0)) 
2074 static PyObject 
*_wrap_wxFontList_RemoveFont(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2075     PyObject 
* _resultobj
; 
2078     PyObject 
* _argo0 
= 0; 
2079     PyObject 
* _argo1 
= 0; 
2080     char *_kwnames
[] = { "self","font", NULL 
}; 
2083     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))  
2086         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2087         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2088             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p."); 
2093         if (_argo1 
== Py_None
) { _arg1 
= NULL
; } 
2094         else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) { 
2095             PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p."); 
2100     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2101     wxFontList_RemoveFont(_arg0
,_arg1
); 
2103     wxPyEndAllowThreads(__tstate
); 
2104     if (PyErr_Occurred()) return NULL
; 
2105 }    Py_INCREF(Py_None
); 
2106     _resultobj 
= Py_None
; 
2110 #define wxFontList_GetCount(_swigobj)  (_swigobj->GetCount()) 
2111 static PyObject 
*_wrap_wxFontList_GetCount(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2112     PyObject 
* _resultobj
; 
2115     PyObject 
* _argo0 
= 0; 
2116     char *_kwnames
[] = { "self", NULL 
}; 
2119     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))  
2122         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2123         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) { 
2124             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p."); 
2129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2130     _result 
= (int )wxFontList_GetCount(_arg0
); 
2132     wxPyEndAllowThreads(__tstate
); 
2133     if (PyErr_Occurred()) return NULL
; 
2134 }    _resultobj 
= Py_BuildValue("i",_result
); 
2138 #define new_wxFontEnumerator() (new wxPyFontEnumerator()) 
2139 static PyObject 
*_wrap_new_wxFontEnumerator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2140     PyObject 
* _resultobj
; 
2141     wxPyFontEnumerator 
* _result
; 
2142     char *_kwnames
[] = {  NULL 
}; 
2146     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))  
2149     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2150     _result 
= (wxPyFontEnumerator 
*)new_wxFontEnumerator(); 
2152     wxPyEndAllowThreads(__tstate
); 
2153     if (PyErr_Occurred()) return NULL
; 
2155         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p"); 
2156         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2159         _resultobj 
= Py_None
; 
2164 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj) 
2165 static PyObject 
*_wrap_delete_wxFontEnumerator(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2166     PyObject 
* _resultobj
; 
2167     wxPyFontEnumerator 
* _arg0
; 
2168     PyObject 
* _argo0 
= 0; 
2169     char *_kwnames
[] = { "self", NULL 
}; 
2172     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))  
2175         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2176         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2177             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p."); 
2182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2183     delete_wxPyFontEnumerator(_arg0
); 
2185     wxPyEndAllowThreads(__tstate
); 
2186     if (PyErr_Occurred()) return NULL
; 
2187 }    Py_INCREF(Py_None
); 
2188     _resultobj 
= Py_None
; 
2192 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2)) 
2193 static PyObject 
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2194     PyObject 
* _resultobj
; 
2195     wxPyFontEnumerator 
* _arg0
; 
2199     PyObject 
* _argo0 
= 0; 
2200     PyObject 
* _obj1 
= 0; 
2201     PyObject 
* _obj2 
= 0; 
2203     char *_kwnames
[] = { "self","self","_class","incref", NULL 
}; 
2206     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))  
2209         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2210         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2211             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p."); 
2221     _arg3 
= (bool ) tempbool3
; 
2223     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2224     wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
); 
2226     wxPyEndAllowThreads(__tstate
); 
2227     if (PyErr_Occurred()) return NULL
; 
2228 }    Py_INCREF(Py_None
); 
2229     _resultobj 
= Py_None
; 
2233 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1)  (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1)) 
2234 static PyObject 
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2235     PyObject 
* _resultobj
; 
2237     wxPyFontEnumerator 
* _arg0
; 
2238     wxFontEncoding  _arg1 
= (wxFontEncoding 
) (wxFONTENCODING_SYSTEM
); 
2239     bool  _arg2 
= (bool ) FALSE
; 
2240     PyObject 
* _argo0 
= 0; 
2241     int tempbool2 
= (int) FALSE
; 
2242     char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL 
}; 
2245     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))  
2248         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2249         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2250             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p."); 
2254     _arg2 
= (bool ) tempbool2
; 
2256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2257     _result 
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
); 
2259     wxPyEndAllowThreads(__tstate
); 
2260     if (PyErr_Occurred()) return NULL
; 
2261 }    _resultobj 
= Py_BuildValue("i",_result
); 
2265 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0)  (_swigobj->EnumerateEncodings(_swigarg0)) 
2266 static PyObject 
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2267     PyObject 
* _resultobj
; 
2269     wxPyFontEnumerator 
* _arg0
; 
2270     wxString 
* _arg1 
= (wxString 
*) &wxPyEmptyString
; 
2271     PyObject 
* _argo0 
= 0; 
2272     PyObject 
* _obj1 
= 0; 
2273     char *_kwnames
[] = { "self","facename", NULL 
}; 
2276     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))  
2279         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2280         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2281             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p."); 
2287     _arg1 
= wxString_in_helper(_obj1
); 
2292     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2293     _result 
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
); 
2295     wxPyEndAllowThreads(__tstate
); 
2296     if (PyErr_Occurred()) return NULL
; 
2297 }    _resultobj 
= Py_BuildValue("i",_result
); 
2305 static PyObject 
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator 
*self
) { 
2306             wxArrayString
* arr 
= self
->GetEncodings(); 
2307             return wxArrayString2PyList_helper(*arr
); 
2309 static PyObject 
*_wrap_wxFontEnumerator_GetEncodings(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2310     PyObject 
* _resultobj
; 
2312     wxPyFontEnumerator 
* _arg0
; 
2313     PyObject 
* _argo0 
= 0; 
2314     char *_kwnames
[] = { "self", NULL 
}; 
2317     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))  
2320         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2321         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2322             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p."); 
2327     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2328     _result 
= (PyObject 
*)wxPyFontEnumerator_GetEncodings(_arg0
); 
2330     wxPyEndAllowThreads(__tstate
); 
2331     if (PyErr_Occurred()) return NULL
; 
2333   _resultobj 
= _result
; 
2338 static PyObject 
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator 
*self
) { 
2339             wxArrayString
* arr 
= self
->GetFacenames(); 
2340             return wxArrayString2PyList_helper(*arr
); 
2342 static PyObject 
*_wrap_wxFontEnumerator_GetFacenames(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2343     PyObject 
* _resultobj
; 
2345     wxPyFontEnumerator 
* _arg0
; 
2346     PyObject 
* _argo0 
= 0; 
2347     char *_kwnames
[] = { "self", NULL 
}; 
2350     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))  
2353         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2354         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) { 
2355             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p."); 
2360     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2361     _result 
= (PyObject 
*)wxPyFontEnumerator_GetFacenames(_arg0
); 
2363     wxPyEndAllowThreads(__tstate
); 
2364     if (PyErr_Occurred()) return NULL
; 
2366   _resultobj 
= _result
; 
2371 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval) 
2372 static PyObject 
*_wrap_wxLanguageInfo_Language_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2373     PyObject 
* _resultobj
; 
2375     wxLanguageInfo 
* _arg0
; 
2377     PyObject 
* _argo0 
= 0; 
2378     char *_kwnames
[] = { "self","Language", NULL 
}; 
2381     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))  
2384         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2385         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2386             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p."); 
2391     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2392     _result 
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
); 
2394     wxPyEndAllowThreads(__tstate
); 
2395     if (PyErr_Occurred()) return NULL
; 
2396 }    _resultobj 
= Py_BuildValue("i",_result
); 
2400 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language) 
2401 static PyObject 
*_wrap_wxLanguageInfo_Language_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2402     PyObject 
* _resultobj
; 
2404     wxLanguageInfo 
* _arg0
; 
2405     PyObject 
* _argo0 
= 0; 
2406     char *_kwnames
[] = { "self", NULL 
}; 
2409     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))  
2412         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2413         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2414             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_get. Expected _wxLanguageInfo_p."); 
2419     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2420     _result 
= (int )wxLanguageInfo_Language_get(_arg0
); 
2422     wxPyEndAllowThreads(__tstate
); 
2423     if (PyErr_Occurred()) return NULL
; 
2424 }    _resultobj 
= Py_BuildValue("i",_result
); 
2428 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval) 
2429 static PyObject 
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2430     PyObject 
* _resultobj
; 
2432     wxLanguageInfo 
* _arg0
; 
2434     PyObject 
* _argo0 
= 0; 
2435     PyObject 
* _obj1 
= 0; 
2436     char *_kwnames
[] = { "self","CanonicalName", NULL 
}; 
2439     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))  
2442         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2443         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2444             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_set. Expected _wxLanguageInfo_p."); 
2449     _arg1 
= wxString_in_helper(_obj1
); 
2454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2455     _result 
= (wxString 
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
); 
2457     wxPyEndAllowThreads(__tstate
); 
2458     if (PyErr_Occurred()) return NULL
; 
2461     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2463     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2473 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName) 
2474 static PyObject 
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2475     PyObject 
* _resultobj
; 
2477     wxLanguageInfo 
* _arg0
; 
2478     PyObject 
* _argo0 
= 0; 
2479     char *_kwnames
[] = { "self", NULL 
}; 
2482     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))  
2485         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2486         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2487             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p."); 
2492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2493     _result 
= (wxString 
*)wxLanguageInfo_CanonicalName_get(_arg0
); 
2495     wxPyEndAllowThreads(__tstate
); 
2496     if (PyErr_Occurred()) return NULL
; 
2499     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2501     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2507 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval) 
2508 static PyObject 
*_wrap_wxLanguageInfo_Description_set(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2509     PyObject 
* _resultobj
; 
2511     wxLanguageInfo 
* _arg0
; 
2513     PyObject 
* _argo0 
= 0; 
2514     PyObject 
* _obj1 
= 0; 
2515     char *_kwnames
[] = { "self","Description", NULL 
}; 
2518     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))  
2521         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2522         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2523             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_set. Expected _wxLanguageInfo_p."); 
2528     _arg1 
= wxString_in_helper(_obj1
); 
2533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2534     _result 
= (wxString 
*)wxLanguageInfo_Description_set(_arg0
,_arg1
); 
2536     wxPyEndAllowThreads(__tstate
); 
2537     if (PyErr_Occurred()) return NULL
; 
2540     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2542     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2552 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description) 
2553 static PyObject 
*_wrap_wxLanguageInfo_Description_get(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2554     PyObject 
* _resultobj
; 
2556     wxLanguageInfo 
* _arg0
; 
2557     PyObject 
* _argo0 
= 0; 
2558     char *_kwnames
[] = { "self", NULL 
}; 
2561     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))  
2564         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2565         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
2566             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p."); 
2571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2572     _result 
= (wxString 
*)wxLanguageInfo_Description_get(_arg0
); 
2574     wxPyEndAllowThreads(__tstate
); 
2575     if (PyErr_Occurred()) return NULL
; 
2578     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2580     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2586 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1)) 
2587 static PyObject 
*_wrap_new_wxLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2588     PyObject 
* _resultobj
; 
2590     int  _arg0 
= (int ) (wxLANGUAGE_DEFAULT
); 
2591     int  _arg1 
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
); 
2592     char *_kwnames
[] = { "language","flags", NULL 
}; 
2596     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))  
2599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2600     _result 
= (wxLocale 
*)new_wxLocale(_arg0
,_arg1
); 
2602     wxPyEndAllowThreads(__tstate
); 
2603     if (PyErr_Occurred()) return NULL
; 
2605         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p"); 
2606         _resultobj 
= Py_BuildValue("s",_ptemp
); 
2609         _resultobj 
= Py_None
; 
2614 #define wxLocale_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)  (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) 
2615 static PyObject 
*_wrap_wxLocale_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2616     PyObject 
* _resultobj
; 
2620     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
2621     wxString 
* _arg3 
= (wxString 
*) &wxPyEmptyString
; 
2622     bool  _arg4 
= (bool ) TRUE
; 
2623     bool  _arg5 
= (bool ) FALSE
; 
2624     PyObject 
* _argo0 
= 0; 
2625     PyObject 
* _obj1 
= 0; 
2626     PyObject 
* _obj2 
= 0; 
2627     PyObject 
* _obj3 
= 0; 
2628     int tempbool4 
= (int) TRUE
; 
2629     int tempbool5 
= (int) FALSE
; 
2630     char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL 
}; 
2633     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))  
2636         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2637         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2638             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init. Expected _wxLocale_p."); 
2643     _arg1 
= wxString_in_helper(_obj1
); 
2649     _arg2 
= wxString_in_helper(_obj2
); 
2655     _arg3 
= wxString_in_helper(_obj3
); 
2659     _arg4 
= (bool ) tempbool4
; 
2660     _arg5 
= (bool ) tempbool5
; 
2662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2663     _result 
= (bool )wxLocale_Init(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
); 
2665     wxPyEndAllowThreads(__tstate
); 
2666     if (PyErr_Occurred()) return NULL
; 
2667 }    _resultobj 
= Py_BuildValue("i",_result
); 
2683 #define delete_wxLocale(_swigobj) (delete _swigobj) 
2684 static PyObject 
*_wrap_delete_wxLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2685     PyObject 
* _resultobj
; 
2687     PyObject 
* _argo0 
= 0; 
2688     char *_kwnames
[] = { "self", NULL 
}; 
2691     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))  
2694         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2695         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2696             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLocale. Expected _wxLocale_p."); 
2701     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2702     delete_wxLocale(_arg0
); 
2704     wxPyEndAllowThreads(__tstate
); 
2705     if (PyErr_Occurred()) return NULL
; 
2706 }    Py_INCREF(Py_None
); 
2707     _resultobj 
= Py_None
; 
2711 static PyObject 
*_wrap_wxLocale_GetSystemLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2712     PyObject 
* _resultobj
; 
2714     char *_kwnames
[] = {  NULL 
}; 
2717     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))  
2720     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2721     _result 
= (int )wxLocale::GetSystemLanguage(); 
2723     wxPyEndAllowThreads(__tstate
); 
2724     if (PyErr_Occurred()) return NULL
; 
2725 }    _resultobj 
= Py_BuildValue("i",_result
); 
2729 static PyObject 
*_wrap_wxLocale_GetSystemEncoding(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2730     PyObject 
* _resultobj
; 
2731     wxFontEncoding  _result
; 
2732     char *_kwnames
[] = {  NULL 
}; 
2735     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))  
2738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2739     _result 
= (wxFontEncoding 
)wxLocale::GetSystemEncoding(); 
2741     wxPyEndAllowThreads(__tstate
); 
2742     if (PyErr_Occurred()) return NULL
; 
2743 }    _resultobj 
= Py_BuildValue("i",_result
); 
2747 static PyObject 
*_wrap_wxLocale_GetSystemEncodingName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2748     PyObject 
* _resultobj
; 
2750     char *_kwnames
[] = {  NULL 
}; 
2753     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))  
2756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2757     _result 
= new wxString (wxLocale::GetSystemEncodingName()); 
2759     wxPyEndAllowThreads(__tstate
); 
2760     if (PyErr_Occurred()) return NULL
; 
2763     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2765     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2774 #define wxLocale_IsOk(_swigobj)  (_swigobj->IsOk()) 
2775 static PyObject 
*_wrap_wxLocale_IsOk(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2776     PyObject 
* _resultobj
; 
2779     PyObject 
* _argo0 
= 0; 
2780     char *_kwnames
[] = { "self", NULL 
}; 
2783     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))  
2786         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2787         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2788             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p."); 
2793     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2794     _result 
= (bool )wxLocale_IsOk(_arg0
); 
2796     wxPyEndAllowThreads(__tstate
); 
2797     if (PyErr_Occurred()) return NULL
; 
2798 }    _resultobj 
= Py_BuildValue("i",_result
); 
2802 #define wxLocale_GetLocale(_swigobj)  (_swigobj->GetLocale()) 
2803 static PyObject 
*_wrap_wxLocale_GetLocale(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2804     PyObject 
* _resultobj
; 
2807     PyObject 
* _argo0 
= 0; 
2808     char *_kwnames
[] = { "self", NULL 
}; 
2811     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLocale",_kwnames
,&_argo0
))  
2814         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2815         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2816             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLocale. Expected _wxLocale_p."); 
2821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2822     _result 
= new wxString (wxLocale_GetLocale(_arg0
)); 
2824     wxPyEndAllowThreads(__tstate
); 
2825     if (PyErr_Occurred()) return NULL
; 
2828     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2830     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2839 #define wxLocale_GetLanguage(_swigobj)  (_swigobj->GetLanguage()) 
2840 static PyObject 
*_wrap_wxLocale_GetLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2841     PyObject 
* _resultobj
; 
2844     PyObject 
* _argo0 
= 0; 
2845     char *_kwnames
[] = { "self", NULL 
}; 
2848     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))  
2851         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2852         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2853             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p."); 
2858     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2859     _result 
= (int )wxLocale_GetLanguage(_arg0
); 
2861     wxPyEndAllowThreads(__tstate
); 
2862     if (PyErr_Occurred()) return NULL
; 
2863 }    _resultobj 
= Py_BuildValue("i",_result
); 
2867 #define wxLocale_GetSysName(_swigobj)  (_swigobj->GetSysName()) 
2868 static PyObject 
*_wrap_wxLocale_GetSysName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2869     PyObject 
* _resultobj
; 
2872     PyObject 
* _argo0 
= 0; 
2873     char *_kwnames
[] = { "self", NULL 
}; 
2876     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetSysName",_kwnames
,&_argo0
))  
2879         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2880         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2881             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetSysName. Expected _wxLocale_p."); 
2886     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2887     _result 
= new wxString (wxLocale_GetSysName(_arg0
)); 
2889     wxPyEndAllowThreads(__tstate
); 
2890     if (PyErr_Occurred()) return NULL
; 
2893     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2895     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2904 #define wxLocale_GetCanonicalName(_swigobj)  (_swigobj->GetCanonicalName()) 
2905 static PyObject 
*_wrap_wxLocale_GetCanonicalName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2906     PyObject 
* _resultobj
; 
2909     PyObject 
* _argo0 
= 0; 
2910     char *_kwnames
[] = { "self", NULL 
}; 
2913     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))  
2916         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2917         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2918             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p."); 
2923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2924     _result 
= new wxString (wxLocale_GetCanonicalName(_arg0
)); 
2926     wxPyEndAllowThreads(__tstate
); 
2927     if (PyErr_Occurred()) return NULL
; 
2930     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
2932     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
2941 static PyObject 
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2942     PyObject 
* _resultobj
; 
2944     PyObject 
* _obj0 
= 0; 
2945     char *_kwnames
[] = { "prefix", NULL 
}; 
2948     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))  
2951     _arg0 
= wxString_in_helper(_obj0
); 
2956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2957     wxLocale::AddCatalogLookupPathPrefix(*_arg0
); 
2959     wxPyEndAllowThreads(__tstate
); 
2960     if (PyErr_Occurred()) return NULL
; 
2961 }    Py_INCREF(Py_None
); 
2962     _resultobj 
= Py_None
; 
2970 #define wxLocale_AddCatalog(_swigobj,_swigarg0)  (_swigobj->AddCatalog(_swigarg0)) 
2971 static PyObject 
*_wrap_wxLocale_AddCatalog(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
2972     PyObject 
* _resultobj
; 
2976     PyObject 
* _argo0 
= 0; 
2977     PyObject 
* _obj1 
= 0; 
2978     char *_kwnames
[] = { "self","szDomain", NULL 
}; 
2981     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))  
2984         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
2985         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
2986             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p."); 
2991     _arg1 
= wxString_in_helper(_obj1
); 
2996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
2997     _result 
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
); 
2999     wxPyEndAllowThreads(__tstate
); 
3000     if (PyErr_Occurred()) return NULL
; 
3001 }    _resultobj 
= Py_BuildValue("i",_result
); 
3009 #define wxLocale_IsLoaded(_swigobj,_swigarg0)  (_swigobj->IsLoaded(_swigarg0)) 
3010 static PyObject 
*_wrap_wxLocale_IsLoaded(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3011     PyObject 
* _resultobj
; 
3015     PyObject 
* _argo0 
= 0; 
3016     PyObject 
* _obj1 
= 0; 
3017     char *_kwnames
[] = { "self","szDomain", NULL 
}; 
3020     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))  
3023         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3024         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3025             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p."); 
3030     _arg1 
= wxString_in_helper(_obj1
); 
3035     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3036     _result 
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
); 
3038     wxPyEndAllowThreads(__tstate
); 
3039     if (PyErr_Occurred()) return NULL
; 
3040 }    _resultobj 
= Py_BuildValue("i",_result
); 
3048 static PyObject 
*_wrap_wxLocale_AddLanguage(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3049     PyObject 
* _resultobj
; 
3050     wxLanguageInfo 
* _arg0
; 
3051     PyObject 
* _argo0 
= 0; 
3052     char *_kwnames
[] = { "info", NULL 
}; 
3055     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))  
3058         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3059         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) { 
3060             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p."); 
3065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3066     wxLocale::AddLanguage(*_arg0
); 
3068     wxPyEndAllowThreads(__tstate
); 
3069     if (PyErr_Occurred()) return NULL
; 
3070 }    Py_INCREF(Py_None
); 
3071     _resultobj 
= Py_None
; 
3075 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1)  (_swigobj->GetString(_swigarg0,_swigarg1)) 
3076 static PyObject 
*_wrap_wxLocale_GetString(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3077     PyObject 
* _resultobj
; 
3081     wxString 
* _arg2 
= (wxString 
*) &wxPyEmptyString
; 
3082     PyObject 
* _argo0 
= 0; 
3083     PyObject 
* _obj1 
= 0; 
3084     PyObject 
* _obj2 
= 0; 
3085     char *_kwnames
[] = { "self","szOrigString","szDomain", NULL 
}; 
3088     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))  
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_GetString. Expected _wxLocale_p."); 
3098     _arg1 
= wxString_in_helper(_obj1
); 
3104     _arg2 
= wxString_in_helper(_obj2
); 
3109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3110     _result 
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
)); 
3112     wxPyEndAllowThreads(__tstate
); 
3113     if (PyErr_Occurred()) return NULL
; 
3116     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3118     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3135 #define wxLocale_GetName(_swigobj)  (_swigobj->GetName()) 
3136 static PyObject 
*_wrap_wxLocale_GetName(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3137     PyObject 
* _resultobj
; 
3140     PyObject 
* _argo0 
= 0; 
3141     char *_kwnames
[] = { "self", NULL 
}; 
3144     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))  
3147         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3148         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) { 
3149             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetName. Expected _wxLocale_p."); 
3154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3155     const wxString 
& _result_ref 
= wxLocale_GetName(_arg0
); 
3156     _result 
= (wxString 
*) &_result_ref
; 
3158     wxPyEndAllowThreads(__tstate
); 
3159     if (PyErr_Occurred()) return NULL
; 
3162     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3164     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3170 static void *SwigwxEncodingConverterTowxObject(void *ptr
) { 
3171     wxEncodingConverter 
*src
; 
3173     src 
= (wxEncodingConverter 
*) ptr
; 
3174     dest 
= (wxObject 
*) src
; 
3175     return (void *) dest
; 
3178 #define new_wxEncodingConverter() (new wxEncodingConverter()) 
3179 static PyObject 
*_wrap_new_wxEncodingConverter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3180     PyObject 
* _resultobj
; 
3181     wxEncodingConverter 
* _result
; 
3182     char *_kwnames
[] = {  NULL 
}; 
3186     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))  
3189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3190     _result 
= (wxEncodingConverter 
*)new_wxEncodingConverter(); 
3192     wxPyEndAllowThreads(__tstate
); 
3193     if (PyErr_Occurred()) return NULL
; 
3195         SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p"); 
3196         _resultobj 
= Py_BuildValue("s",_ptemp
); 
3199         _resultobj 
= Py_None
; 
3204 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj) 
3205 static PyObject 
*_wrap_delete_wxEncodingConverter(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3206     PyObject 
* _resultobj
; 
3207     wxEncodingConverter 
* _arg0
; 
3208     PyObject 
* _argo0 
= 0; 
3209     char *_kwnames
[] = { "self", NULL 
}; 
3212     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))  
3215         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3216         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) { 
3217             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p."); 
3222     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3223     delete_wxEncodingConverter(_arg0
); 
3225     wxPyEndAllowThreads(__tstate
); 
3226     if (PyErr_Occurred()) return NULL
; 
3227 }    Py_INCREF(Py_None
); 
3228     _resultobj 
= Py_None
; 
3232 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2)) 
3233 static PyObject 
*_wrap_wxEncodingConverter_Init(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3234     PyObject 
* _resultobj
; 
3236     wxEncodingConverter 
* _arg0
; 
3237     wxFontEncoding  _arg1
; 
3238     wxFontEncoding  _arg2
; 
3239     int  _arg3 
= (int ) (wxCONVERT_STRICT
); 
3240     PyObject 
* _argo0 
= 0; 
3241     char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL 
}; 
3244     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))  
3247         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3248         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) { 
3249             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p."); 
3254     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3255     _result 
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
); 
3257     wxPyEndAllowThreads(__tstate
); 
3258     if (PyErr_Occurred()) return NULL
; 
3259 }    _resultobj 
= Py_BuildValue("i",_result
); 
3263 #define wxEncodingConverter_Convert(_swigobj,_swigarg0)  (_swigobj->Convert(_swigarg0)) 
3264 static PyObject 
*_wrap_wxEncodingConverter_Convert(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3265     PyObject 
* _resultobj
; 
3267     wxEncodingConverter 
* _arg0
; 
3269     PyObject 
* _argo0 
= 0; 
3270     PyObject 
* _obj1 
= 0; 
3271     char *_kwnames
[] = { "self","input", NULL 
}; 
3274     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))  
3277         if (_argo0 
== Py_None
) { _arg0 
= NULL
; } 
3278         else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) { 
3279             PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p."); 
3284     _arg1 
= wxString_in_helper(_obj1
); 
3289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3290     _result 
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
)); 
3292     wxPyEndAllowThreads(__tstate
); 
3293     if (PyErr_Occurred()) return NULL
; 
3296     _resultobj 
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len()); 
3298     _resultobj 
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len()); 
3311 static PyObject 
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3312     PyObject 
* _resultobj
; 
3313     wxFontEncodingArray 
* _result
; 
3314     wxFontEncoding  _arg0
; 
3315     int  _arg1 
= (int ) (wxPLATFORM_CURRENT
); 
3316     char *_kwnames
[] = { "enc","platform", NULL 
}; 
3319     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))  
3322     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3323     _result 
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
)); 
3325     wxPyEndAllowThreads(__tstate
); 
3326     if (PyErr_Occurred()) return NULL
; 
3328     _resultobj 
= PyList_New(0); 
3329     for (size_t i
=0; i 
< _result
->GetCount(); i
++) { 
3330         PyObject
* number 
= PyInt_FromLong(_result
->Item(i
)); 
3331         PyList_Append(_resultobj
, number
); 
3338 static PyObject 
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject 
*self
, PyObject 
*args
, PyObject 
*kwargs
) { 
3339     PyObject 
* _resultobj
; 
3340     wxFontEncodingArray 
* _result
; 
3341     wxFontEncoding  _arg0
; 
3342     char *_kwnames
[] = { "enc", NULL 
}; 
3345     if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))  
3348     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3349     _result 
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
)); 
3351     wxPyEndAllowThreads(__tstate
); 
3352     if (PyErr_Occurred()) return NULL
; 
3354     _resultobj 
= PyList_New(0); 
3355     for (size_t i
=0; i 
< _result
->GetCount(); i
++) { 
3356         PyObject
* number 
= PyInt_FromLong(_result
->Item(i
)); 
3357         PyList_Append(_resultobj
, number
); 
3364 static PyMethodDef fontscMethods
[] = { 
3365          { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3366          { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3367          { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3368          { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3369          { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3370          { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3371          { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3372          { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3373          { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3374          { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3375          { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3376          { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3377          { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3378          { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3379          { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3380          { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3381          { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3382          { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3383          { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3384          { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3385          { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3386          { "wxLocale_Init", (PyCFunction
) _wrap_wxLocale_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3387          { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3388          { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3389          { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3390          { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3391          { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3392          { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3393          { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3394          { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3395          { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3396          { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3397          { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3398          { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3399          { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3400          { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3401          { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3402          { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3403          { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3404          { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3405          { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3406          { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3407          { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3408          { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3409          { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3410          { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3411          { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3412          { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3413          { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3414          { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3415          { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3416          { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3417          { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3418          { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3419          { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3420          { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3421          { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3422          { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3423          { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3424          { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3425          { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3426          { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3427          { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3428          { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3429          { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3430          { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3431          { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3432          { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3433          { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3434          { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3435          { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3436          { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3437          { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3438          { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3439          { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3440          { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3441          { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3442          { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3443          { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3444          { "wxFontMapper_Set", (PyCFunction
) _wrap_wxFontMapper_Set
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3445          { "wxFontMapper_Get", (PyCFunction
) _wrap_wxFontMapper_Get
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3446          { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3447          { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3448          { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3449          { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3450          { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3451          { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3452          { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3453          { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3454          { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3455          { "wxNativeFontInfo_SetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_SetXFontName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3456          { "wxNativeFontInfo_GetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_GetXFontName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3457          { "wxNativeFontInfo_IsDefault", (PyCFunction
) _wrap_wxNativeFontInfo_IsDefault
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3458          { "wxNativeFontInfo_FromXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_FromXFontName
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3459          { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3460          { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS 
| METH_KEYWORDS 
}, 
3467  * This table is used by the pointer type-checker 
3469 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = { 
3470     { "_signed_long","_long",0}, 
3471     { "_wxPrintQuality","_wxCoord",0}, 
3472     { "_wxPrintQuality","_int",0}, 
3473     { "_wxPrintQuality","_signed_int",0}, 
3474     { "_wxPrintQuality","_unsigned_int",0}, 
3475     { "_wxPrintQuality","_wxWindowID",0}, 
3476     { "_wxPrintQuality","_uint",0}, 
3477     { "_wxPrintQuality","_EBool",0}, 
3478     { "_wxPrintQuality","_size_t",0}, 
3479     { "_wxPrintQuality","_time_t",0}, 
3480     { "_byte","_unsigned_char",0}, 
3481     { "_long","_unsigned_long",0}, 
3482     { "_long","_signed_long",0}, 
3483     { "_size_t","_wxCoord",0}, 
3484     { "_size_t","_wxPrintQuality",0}, 
3485     { "_size_t","_time_t",0}, 
3486     { "_size_t","_unsigned_int",0}, 
3487     { "_size_t","_int",0}, 
3488     { "_size_t","_wxWindowID",0}, 
3489     { "_size_t","_uint",0}, 
3490     { "_uint","_wxCoord",0}, 
3491     { "_uint","_wxPrintQuality",0}, 
3492     { "_uint","_time_t",0}, 
3493     { "_uint","_size_t",0}, 
3494     { "_uint","_unsigned_int",0}, 
3495     { "_uint","_int",0}, 
3496     { "_uint","_wxWindowID",0}, 
3497     { "_wxChar","_char",0}, 
3498     { "_char","_wxChar",0}, 
3499     { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, 
3500     { "_EBool","_wxCoord",0}, 
3501     { "_EBool","_wxPrintQuality",0}, 
3502     { "_EBool","_signed_int",0}, 
3503     { "_EBool","_int",0}, 
3504     { "_EBool","_wxWindowID",0}, 
3505     { "_unsigned_long","_long",0}, 
3506     { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, 
3507     { "_signed_int","_wxCoord",0}, 
3508     { "_signed_int","_wxPrintQuality",0}, 
3509     { "_signed_int","_EBool",0}, 
3510     { "_signed_int","_wxWindowID",0}, 
3511     { "_signed_int","_int",0}, 
3512     { "_WXTYPE","_short",0}, 
3513     { "_WXTYPE","_signed_short",0}, 
3514     { "_WXTYPE","_unsigned_short",0}, 
3515     { "_unsigned_short","_WXTYPE",0}, 
3516     { "_unsigned_short","_short",0}, 
3517     { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
}, 
3518     { "_wxObject","_wxFontList",SwigwxFontListTowxObject
}, 
3519     { "_wxObject","_wxFont",SwigwxFontTowxObject
}, 
3520     { "_signed_short","_WXTYPE",0}, 
3521     { "_signed_short","_short",0}, 
3522     { "_unsigned_char","_byte",0}, 
3523     { "_unsigned_int","_wxCoord",0}, 
3524     { "_unsigned_int","_wxPrintQuality",0}, 
3525     { "_unsigned_int","_time_t",0}, 
3526     { "_unsigned_int","_size_t",0}, 
3527     { "_unsigned_int","_uint",0}, 
3528     { "_unsigned_int","_wxWindowID",0}, 
3529     { "_unsigned_int","_int",0}, 
3530     { "_short","_WXTYPE",0}, 
3531     { "_short","_unsigned_short",0}, 
3532     { "_short","_signed_short",0}, 
3533     { "_wxWindowID","_wxCoord",0}, 
3534     { "_wxWindowID","_wxPrintQuality",0}, 
3535     { "_wxWindowID","_time_t",0}, 
3536     { "_wxWindowID","_size_t",0}, 
3537     { "_wxWindowID","_EBool",0}, 
3538     { "_wxWindowID","_uint",0}, 
3539     { "_wxWindowID","_int",0}, 
3540     { "_wxWindowID","_signed_int",0}, 
3541     { "_wxWindowID","_unsigned_int",0}, 
3542     { "_int","_wxCoord",0}, 
3543     { "_int","_wxPrintQuality",0}, 
3544     { "_int","_time_t",0}, 
3545     { "_int","_size_t",0}, 
3546     { "_int","_EBool",0}, 
3547     { "_int","_uint",0}, 
3548     { "_int","_wxWindowID",0}, 
3549     { "_int","_unsigned_int",0}, 
3550     { "_int","_signed_int",0}, 
3551     { "_time_t","_wxCoord",0}, 
3552     { "_time_t","_wxPrintQuality",0}, 
3553     { "_time_t","_unsigned_int",0}, 
3554     { "_time_t","_int",0}, 
3555     { "_time_t","_wxWindowID",0}, 
3556     { "_time_t","_uint",0}, 
3557     { "_time_t","_size_t",0}, 
3558     { "_wxCoord","_int",0}, 
3559     { "_wxCoord","_signed_int",0}, 
3560     { "_wxCoord","_unsigned_int",0}, 
3561     { "_wxCoord","_wxWindowID",0}, 
3562     { "_wxCoord","_uint",0}, 
3563     { "_wxCoord","_EBool",0}, 
3564     { "_wxCoord","_size_t",0}, 
3565     { "_wxCoord","_time_t",0}, 
3566     { "_wxCoord","_wxPrintQuality",0}, 
3569 static PyObject 
*SWIG_globals
; 
3573 SWIGEXPORT(void) initfontsc() { 
3575          SWIG_globals 
= SWIG_newvarlink(); 
3576          m 
= Py_InitModule("fontsc", fontscMethods
); 
3577          d 
= PyModule_GetDict(m
); 
3578          PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
)); 
3579          PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
)); 
3580          PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
)); 
3581          PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
)); 
3582          PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
)); 
3583          PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
)); 
3584          PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
)); 
3585          PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
)); 
3586          PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
)); 
3587          PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
)); 
3588          PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
)); 
3589          PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
)); 
3590          PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
)); 
3591          PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
)); 
3592          PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
)); 
3593          PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
)); 
3594          PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
)); 
3595          PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
)); 
3596          PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
)); 
3597          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
)); 
3598          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
)); 
3599          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
)); 
3600          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
)); 
3601          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
)); 
3602          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
)); 
3603          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
)); 
3604          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
)); 
3605          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
)); 
3606          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
)); 
3607          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
)); 
3608          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
)); 
3609          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
)); 
3610          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
)); 
3611          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
)); 
3612          PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
)); 
3613          PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
)); 
3614          PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
)); 
3615          PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
)); 
3616          PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
)); 
3617          PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
)); 
3618          PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
)); 
3619          PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
)); 
3620          PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
)); 
3621          PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
)); 
3622          PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
)); 
3623          PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
)); 
3624          PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
)); 
3625          PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
)); 
3626          PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
)); 
3627          PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
)); 
3628          PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
)); 
3629          PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
)); 
3630          PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
)); 
3631          PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
)); 
3632          PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
)); 
3633          PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
)); 
3634          PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
)); 
3635          PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
)); 
3636          PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
)); 
3637          PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
)); 
3638          PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
)); 
3639          PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
)); 
3640          PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
)); 
3641          PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
)); 
3642          PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
)); 
3643          PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
)); 
3644          PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
)); 
3645          PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
)); 
3646          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
)); 
3647          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
)); 
3648          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
)); 
3649          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
)); 
3650          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
)); 
3651          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
)); 
3652          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
)); 
3653          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
)); 
3654          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
)); 
3655          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
)); 
3656          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
)); 
3657          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
)); 
3658          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
)); 
3659          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
)); 
3660          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
)); 
3661          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
)); 
3662          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
)); 
3663          PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
)); 
3664          PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
)); 
3665          PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
)); 
3666          PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
)); 
3667          PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
)); 
3668          PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
)); 
3669          PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
)); 
3670          PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
)); 
3671          PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
)); 
3672          PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
)); 
3673          PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
)); 
3674          PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
)); 
3675          PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
)); 
3676          PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
)); 
3677          PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
)); 
3678          PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
)); 
3679          PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
)); 
3680          PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
)); 
3681          PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
)); 
3682          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
)); 
3683          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
)); 
3684          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
)); 
3685          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
)); 
3686          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
)); 
3687          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
)); 
3688          PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
)); 
3689          PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
)); 
3690          PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
)); 
3691          PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
)); 
3692          PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
)); 
3693          PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
)); 
3694          PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
)); 
3695          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
)); 
3696          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
)); 
3697          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
)); 
3698          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
)); 
3699          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
)); 
3700          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
)); 
3701          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
)); 
3702          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
)); 
3703          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
)); 
3704          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
)); 
3705          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
)); 
3706          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
)); 
3707          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
)); 
3708          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)); 
3709          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
)); 
3710          PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
)); 
3711          PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
)); 
3712          PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
)); 
3713          PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
)); 
3714          PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
)); 
3715          PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
)); 
3716          PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
)); 
3717          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
)); 
3718          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
)); 
3719          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
)); 
3720          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
)); 
3721          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
)); 
3722          PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
)); 
3723          PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
)); 
3724          PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
)); 
3725          PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
)); 
3726          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
)); 
3727          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
)); 
3728          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
)); 
3729          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
)); 
3730          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
)); 
3731          PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
)); 
3732          PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
)); 
3733          PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
)); 
3734          PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
)); 
3735          PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
)); 
3736          PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
)); 
3737          PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
)); 
3738          PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
)); 
3739          PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
)); 
3740          PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
)); 
3741          PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
)); 
3742          PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
)); 
3743          PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
)); 
3744          PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
)); 
3745          PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
)); 
3746          PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
)); 
3747          PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
)); 
3748          PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
)); 
3749          PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
)); 
3750          PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
)); 
3751          PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
)); 
3752          PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
)); 
3753          PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
)); 
3754          PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
)); 
3755          PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
)); 
3756          PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
)); 
3757          PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
)); 
3758          PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
)); 
3759          PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
)); 
3760          PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
)); 
3761          PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
)); 
3762          PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
)); 
3763          PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
)); 
3764          PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
)); 
3765          PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
)); 
3766          PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
)); 
3767          PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
)); 
3768          PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
)); 
3769          PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
)); 
3770          PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
)); 
3771          PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)); 
3772          PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
)); 
3773          PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
)); 
3774          PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
)); 
3775          PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
)); 
3776          PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
)); 
3777          PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
)); 
3778          PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
)); 
3779          PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
)); 
3780          PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
)); 
3781          PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
)); 
3782          PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
)); 
3783          PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
)); 
3784          PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
)); 
3785          PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
)); 
3786          PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
)); 
3787          PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
)); 
3788          PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
)); 
3789          PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
)); 
3790          PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
)); 
3791          PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
)); 
3792          PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
)); 
3793          PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
)); 
3794          PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
)); 
3795          PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
)); 
3796          PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
)); 
3797          PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
)); 
3798          PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
)); 
3799          PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
)); 
3800          PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
)); 
3801          PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
)); 
3802          PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
)); 
3803          PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
)); 
3804          PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
)); 
3805          PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
)); 
3806          PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
)); 
3807          PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
)); 
3808          PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
)); 
3809          PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
)); 
3810          PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
)); 
3811          PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
)); 
3812          PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
)); 
3813          PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
)); 
3814          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
)); 
3815          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
)); 
3816          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
)); 
3817          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
)); 
3818          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
)); 
3819          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
)); 
3820          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)); 
3821          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
)); 
3822          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
)); 
3823          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
)); 
3824          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
)); 
3825          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
)); 
3826          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
)); 
3827          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
)); 
3828          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
)); 
3829          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
)); 
3830          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
)); 
3831          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
)); 
3832          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
)); 
3833          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
)); 
3834          PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
)); 
3835          PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
)); 
3836          PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
)); 
3837          PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
)); 
3838          PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
)); 
3839          PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
)); 
3840          PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
)); 
3841          PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
)); 
3842          PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
)); 
3843          PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
)); 
3844          PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
)); 
3845          PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
)); 
3846          PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
)); 
3847          PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
)); 
3848          PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
)); 
3849          PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
)); 
3850          PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
)); 
3851          PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
)); 
3852          PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
)); 
3853          PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
)); 
3854          PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
)); 
3855          PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
)); 
3856          PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
)); 
3857          PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
)); 
3858          PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
)); 
3859          PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
)); 
3860          PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
)); 
3861          PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
)); 
3862          PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
)); 
3863          PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
)); 
3864          PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
)); 
3865          PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
)); 
3866          PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
)); 
3867          PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
)); 
3868          PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
)); 
3869          PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
)); 
3870          PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
)); 
3871          PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
)); 
3872          PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
)); 
3873          PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
)); 
3874          PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
)); 
3875          PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
)); 
3876          PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
)); 
3877          PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
)); 
3878          PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
)); 
3879          PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
)); 
3880          PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
)); 
3881          PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
)); 
3882          PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
)); 
3883          PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
)); 
3884          PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
)); 
3886     wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); 
3889    for (i 
= 0; _swig_mapping
[i
].n1
; i
++) 
3890         SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);