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/fontmap.h>
62 #include <wx/fontutil.h>
63 #include <wx/fontenum.h>
65 #include <wx/encconv.h>
68 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
74 } else if (target
== Py_None
) {
78 if (!PyTuple_Check(target
)) {
80 target
= PyTuple_New(1);
81 PyTuple_SetItem(target
, 0, o2
);
84 PyTuple_SetItem(o3
, 0, o
);
87 target
= PySequence_Concat(o2
, o3
);
94 // Put some wx default wxChar* values into wxStrings.
95 static const wxString
wxPyEmptyString(wxT(""));
97 class wxPyFontEnumerator
: public wxFontEnumerator
{
99 wxPyFontEnumerator() {}
100 ~wxPyFontEnumerator() {}
102 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
103 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
108 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
109 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
114 static PyObject
*_wrap_wxGetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
115 PyObject
* _resultobj
;
117 char *_kwnames
[] = { NULL
};
121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocale",_kwnames
))
124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
125 _result
= (wxLocale
*)wxGetLocale();
127 wxPyEndAllowThreads(__tstate
);
128 if (PyErr_Occurred()) return NULL
;
130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
131 _resultobj
= Py_BuildValue("s",_ptemp
);
134 _resultobj
= Py_None
;
139 static PyObject
*_wrap_wxGetTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
143 PyObject
* _obj0
= 0;
144 char *_kwnames
[] = { "sz", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTranslation",_kwnames
,&_obj0
))
150 _arg0
= wxString_in_helper(_obj0
);
155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
156 _result
= new wxString (wxGetTranslation(*_arg0
));
158 wxPyEndAllowThreads(__tstate
);
159 if (PyErr_Occurred()) return NULL
;
162 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
164 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
177 #define wxNativeFontInfo_FromXFontName(_swigobj,_swigarg0) (_swigobj->FromXFontName(_swigarg0))
178 static PyObject
*_wrap_wxNativeFontInfo_FromXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
181 wxNativeFontInfo
* _arg0
;
183 PyObject
* _argo0
= 0;
184 PyObject
* _obj1
= 0;
185 char *_kwnames
[] = { "self","xFontName", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromXFontName",_kwnames
,&_argo0
,&_obj1
))
191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromXFontName. Expected _wxNativeFontInfo_p.");
198 _arg1
= wxString_in_helper(_obj1
);
203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
204 _result
= (bool )wxNativeFontInfo_FromXFontName(_arg0
,*_arg1
);
206 wxPyEndAllowThreads(__tstate
);
207 if (PyErr_Occurred()) return NULL
;
208 } _resultobj
= Py_BuildValue("i",_result
);
216 #define wxNativeFontInfo_IsDefault(_swigobj) (_swigobj->IsDefault())
217 static PyObject
*_wrap_wxNativeFontInfo_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
220 wxNativeFontInfo
* _arg0
;
221 PyObject
* _argo0
= 0;
222 char *_kwnames
[] = { "self", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_IsDefault",_kwnames
,&_argo0
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_IsDefault. Expected _wxNativeFontInfo_p.");
235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
236 _result
= (bool )wxNativeFontInfo_IsDefault(_arg0
);
238 wxPyEndAllowThreads(__tstate
);
239 if (PyErr_Occurred()) return NULL
;
240 } _resultobj
= Py_BuildValue("i",_result
);
244 #define wxNativeFontInfo_GetXFontName(_swigobj) (_swigobj->GetXFontName())
245 static PyObject
*_wrap_wxNativeFontInfo_GetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
248 wxNativeFontInfo
* _arg0
;
249 PyObject
* _argo0
= 0;
250 char *_kwnames
[] = { "self", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetXFontName",_kwnames
,&_argo0
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetXFontName. Expected _wxNativeFontInfo_p.");
263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
264 _result
= new wxString (wxNativeFontInfo_GetXFontName(_arg0
));
266 wxPyEndAllowThreads(__tstate
);
267 if (PyErr_Occurred()) return NULL
;
270 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
272 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
281 #define wxNativeFontInfo_SetXFontName(_swigobj,_swigarg0) (_swigobj->SetXFontName(_swigarg0))
282 static PyObject
*_wrap_wxNativeFontInfo_SetXFontName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
284 wxNativeFontInfo
* _arg0
;
286 PyObject
* _argo0
= 0;
287 PyObject
* _obj1
= 0;
288 char *_kwnames
[] = { "self","xFontName", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetXFontName",_kwnames
,&_argo0
,&_obj1
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetXFontName. Expected _wxNativeFontInfo_p.");
301 _arg1
= wxString_in_helper(_obj1
);
306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
307 wxNativeFontInfo_SetXFontName(_arg0
,*_arg1
);
309 wxPyEndAllowThreads(__tstate
);
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
320 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
321 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
323 wxNativeFontInfo
* _result
;
324 char *_kwnames
[] = { NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
332 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
334 wxPyEndAllowThreads(__tstate
);
335 if (PyErr_Occurred()) return NULL
;
337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
338 _resultobj
= Py_BuildValue("s",_ptemp
);
341 _resultobj
= Py_None
;
346 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
347 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
349 wxNativeFontInfo
* _arg0
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
365 wxNativeFontInfo_Init(_arg0
);
367 wxPyEndAllowThreads(__tstate
);
368 if (PyErr_Occurred()) return NULL
;
369 } Py_INCREF(Py_None
);
370 _resultobj
= Py_None
;
374 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
375 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
378 wxNativeFontInfo
* _arg0
;
380 PyObject
* _argo0
= 0;
381 PyObject
* _obj1
= 0;
382 char *_kwnames
[] = { "self","s", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
395 _arg1
= wxString_in_helper(_obj1
);
400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
401 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
403 wxPyEndAllowThreads(__tstate
);
404 if (PyErr_Occurred()) return NULL
;
405 } _resultobj
= Py_BuildValue("i",_result
);
413 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
414 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
417 wxNativeFontInfo
* _arg0
;
418 PyObject
* _argo0
= 0;
419 char *_kwnames
[] = { "self", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
433 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
435 wxPyEndAllowThreads(__tstate
);
436 if (PyErr_Occurred()) return NULL
;
439 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
441 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
450 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
451 return self
->ToString();
453 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
456 wxNativeFontInfo
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
478 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
480 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
489 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
490 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
493 wxNativeFontInfo
* _arg0
;
495 PyObject
* _argo0
= 0;
496 PyObject
* _obj1
= 0;
497 char *_kwnames
[] = { "self","s", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
510 _arg1
= wxString_in_helper(_obj1
);
515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
516 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
518 wxPyEndAllowThreads(__tstate
);
519 if (PyErr_Occurred()) return NULL
;
520 } _resultobj
= Py_BuildValue("i",_result
);
528 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
529 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
532 wxNativeFontInfo
* _arg0
;
533 PyObject
* _argo0
= 0;
534 char *_kwnames
[] = { "self", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
548 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
550 wxPyEndAllowThreads(__tstate
);
551 if (PyErr_Occurred()) return NULL
;
554 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
556 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
565 #define new_wxFontMapper() (new wxFontMapper())
566 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
567 PyObject
* _resultobj
;
568 wxFontMapper
* _result
;
569 char *_kwnames
[] = { NULL
};
573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
577 _result
= (wxFontMapper
*)new_wxFontMapper();
579 wxPyEndAllowThreads(__tstate
);
580 if (PyErr_Occurred()) return NULL
;
582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
583 _resultobj
= Py_BuildValue("s",_ptemp
);
586 _resultobj
= Py_None
;
591 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
592 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
594 wxFontMapper
* _arg0
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 delete_wxFontMapper(_arg0
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
614 } Py_INCREF(Py_None
);
615 _resultobj
= Py_None
;
619 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
620 wxFontEncoding alt_enc
;
621 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
622 return PyInt_FromLong(alt_enc
);
628 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
631 wxFontMapper
* _arg0
;
632 wxFontEncoding _arg1
;
633 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
634 bool _arg3
= (bool ) TRUE
;
635 PyObject
* _argo0
= 0;
636 PyObject
* _obj2
= 0;
637 int tempbool3
= (int) TRUE
;
638 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
652 _arg2
= wxString_in_helper(_obj2
);
656 _arg3
= (bool ) tempbool3
;
658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
659 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
661 wxPyEndAllowThreads(__tstate
);
662 if (PyErr_Occurred()) return NULL
;
664 _resultobj
= _result
;
673 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
674 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
677 wxFontMapper
* _arg0
;
678 wxFontEncoding _arg1
;
679 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
680 PyObject
* _argo0
= 0;
681 PyObject
* _obj2
= 0;
682 char *_kwnames
[] = { "self","encoding","facename", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
696 _arg2
= wxString_in_helper(_obj2
);
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } _resultobj
= Py_BuildValue("i",_result
);
714 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
715 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
717 wxFontEncoding _result
;
718 wxFontMapper
* _arg0
;
720 bool _arg2
= (bool ) TRUE
;
721 PyObject
* _argo0
= 0;
722 PyObject
* _obj1
= 0;
723 int tempbool2
= (int) TRUE
;
724 char *_kwnames
[] = { "self","charset","interactive", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
737 _arg1
= wxString_in_helper(_obj1
);
741 _arg2
= (bool ) tempbool2
;
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) return NULL
;
748 } _resultobj
= Py_BuildValue("i",_result
);
756 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
759 wxFontEncoding _arg0
;
760 char *_kwnames
[] = { "encoding", NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
773 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
775 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
784 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 wxFontEncoding _arg0
;
788 char *_kwnames
[] = { "encoding", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
795 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
797 wxPyEndAllowThreads(__tstate
);
798 if (PyErr_Occurred()) return NULL
;
801 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
803 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
812 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
813 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 PyObject
* _resultobj
;
815 wxFontMapper
* _arg0
;
817 PyObject
* _argo0
= 0;
818 PyObject
* _argo1
= 0;
819 char *_kwnames
[] = { "self","parent", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
840 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
842 wxPyEndAllowThreads(__tstate
);
843 if (PyErr_Occurred()) return NULL
;
844 } Py_INCREF(Py_None
);
845 _resultobj
= Py_None
;
849 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
850 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
852 wxFontMapper
* _arg0
;
854 PyObject
* _argo0
= 0;
855 PyObject
* _obj1
= 0;
856 char *_kwnames
[] = { "self","title", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
869 _arg1
= wxString_in_helper(_obj1
);
874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
875 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
877 wxPyEndAllowThreads(__tstate
);
878 if (PyErr_Occurred()) return NULL
;
879 } Py_INCREF(Py_None
);
880 _resultobj
= Py_None
;
888 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
889 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
891 wxFontMapper
* _arg0
;
892 wxConfigBase
* _arg1
;
893 PyObject
* _argo0
= 0;
894 PyObject
* _argo1
= 0;
895 char *_kwnames
[] = { "self","config", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
916 wxFontMapper_SetConfig(_arg0
,_arg1
);
918 wxPyEndAllowThreads(__tstate
);
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
926 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxFontMapper
* _arg0
;
930 PyObject
* _argo0
= 0;
931 PyObject
* _obj1
= 0;
932 char *_kwnames
[] = { "self","prefix", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
945 _arg1
= wxString_in_helper(_obj1
);
950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
951 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
953 wxPyEndAllowThreads(__tstate
);
954 if (PyErr_Occurred()) return NULL
;
955 } Py_INCREF(Py_None
);
956 _resultobj
= Py_None
;
964 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
967 char *_kwnames
[] = { NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
974 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
976 wxPyEndAllowThreads(__tstate
);
977 if (PyErr_Occurred()) return NULL
;
980 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
982 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
991 static void *SwigwxFontTowxObject(void *ptr
) {
994 src
= (wxFont
*) ptr
;
995 dest
= (wxObject
*) src
;
996 return (void *) dest
;
999 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1000 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1007 int _arg4
= (int ) FALSE
;
1008 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1009 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1010 PyObject
* _obj5
= 0;
1011 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
1019 _arg5
= wxString_in_helper(_obj5
);
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1031 _resultobj
= Py_BuildValue("s",_ptemp
);
1034 _resultobj
= Py_None
;
1043 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
1044 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1047 wxNativeFontInfo
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 char *_kwnames
[] = { "info", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
1056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
1063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1064 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
1066 wxPyEndAllowThreads(__tstate
);
1067 if (PyErr_Occurred()) return NULL
;
1069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1070 _resultobj
= Py_BuildValue("s",_ptemp
);
1073 _resultobj
= Py_None
;
1078 #define delete_wxFont(_swigobj) (delete _swigobj)
1079 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 delete_wxFont(_arg0
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } Py_INCREF(Py_None
);
1102 _resultobj
= Py_None
;
1106 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1107 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1111 PyObject
* _argo0
= 0;
1112 char *_kwnames
[] = { "self", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= (bool )wxFont_Ok(_arg0
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } _resultobj
= Py_BuildValue("i",_result
);
1134 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1135 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1139 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 _result
= (int )wxFont_GetPointSize(_arg0
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1163 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 _result
= (int )wxFont_GetFamily(_arg0
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) return NULL
;
1186 } _resultobj
= Py_BuildValue("i",_result
);
1190 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1191 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1195 PyObject
* _argo0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 _result
= (int )wxFont_GetStyle(_arg0
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1214 } _resultobj
= Py_BuildValue("i",_result
);
1218 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1219 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 PyObject
* _argo0
= 0;
1224 char *_kwnames
[] = { "self", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
1230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 _result
= (int )wxFont_GetWeight(_arg0
);
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) return NULL
;
1242 } _resultobj
= Py_BuildValue("i",_result
);
1246 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1247 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1251 PyObject
* _argo0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
1258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) return NULL
;
1270 } _resultobj
= Py_BuildValue("i",_result
);
1274 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1275 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1279 PyObject
* _argo0
= 0;
1280 char *_kwnames
[] = { "self", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) return NULL
;
1300 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1311 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
1312 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1314 wxFontEncoding _result
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) return NULL
;
1335 } _resultobj
= Py_BuildValue("i",_result
);
1339 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
1340 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1344 PyObject
* _argo0
= 0;
1345 char *_kwnames
[] = { "self", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
1351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) return NULL
;
1363 } _resultobj
= Py_BuildValue("i",_result
);
1367 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
1368 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1370 wxNativeFontInfo
* _result
;
1372 PyObject
* _argo0
= 0;
1373 char *_kwnames
[] = { "self", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) return NULL
;
1393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
1394 _resultobj
= Py_BuildValue("s",_ptemp
);
1397 _resultobj
= Py_None
;
1402 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
1403 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1428 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1430 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1439 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
1440 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1465 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1467 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1476 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1477 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 PyObject
* _argo0
= 0;
1482 char *_kwnames
[] = { "self","pointSize", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 wxFont_SetPointSize(_arg0
,_arg1
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } Py_INCREF(Py_None
);
1501 _resultobj
= Py_None
;
1505 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1506 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self","family", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 wxFont_SetFamily(_arg0
,_arg1
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1535 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self","style", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_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_SetStyle. Expected _wxFont_p.");
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 wxFont_SetStyle(_arg0
,_arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 } Py_INCREF(Py_None
);
1559 _resultobj
= Py_None
;
1563 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1564 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1568 PyObject
* _argo0
= 0;
1569 char *_kwnames
[] = { "self","weight", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_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_SetWeight. Expected _wxFont_p.");
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 wxFont_SetWeight(_arg0
,_arg1
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1593 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
* _resultobj
;
1597 PyObject
* _argo0
= 0;
1598 PyObject
* _obj1
= 0;
1599 char *_kwnames
[] = { "self","faceName", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1612 _arg1
= wxString_in_helper(_obj1
);
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 wxFont_SetFaceName(_arg0
,*_arg1
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } Py_INCREF(Py_None
);
1623 _resultobj
= Py_None
;
1631 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1632 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1636 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self","underlined", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
1650 _arg1
= (bool ) tempbool1
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 wxFont_SetUnderlined(_arg0
,_arg1
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) return NULL
;
1657 } Py_INCREF(Py_None
);
1658 _resultobj
= Py_None
;
1662 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
1663 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1666 wxFontEncoding _arg1
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "self","encoding", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 wxFont_SetEncoding(_arg0
,_arg1
);
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) return NULL
;
1686 } Py_INCREF(Py_None
);
1687 _resultobj
= Py_None
;
1691 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
1692 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
* _resultobj
;
1695 wxNativeFontInfo
* _arg1
;
1696 PyObject
* _argo0
= 0;
1697 PyObject
* _argo1
= 0;
1698 char *_kwnames
[] = { "self","info", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
1711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 } Py_INCREF(Py_None
);
1724 _resultobj
= Py_None
;
1728 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
1729 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _obj1
= 0;
1735 char *_kwnames
[] = { "self","info", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
1748 _arg1
= wxString_in_helper(_obj1
);
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1767 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
1768 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1793 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1795 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1804 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
1805 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 _result
= new wxString (wxFont_GetStyleString(_arg0
));
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1830 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1832 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1841 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
1842 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= new wxString (wxFont_GetWeightString(_arg0
));
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1867 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1878 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxFontEncoding _result
;
1881 char *_kwnames
[] = { NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) return NULL
;
1892 } _resultobj
= Py_BuildValue("i",_result
);
1896 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1898 wxFontEncoding _arg0
;
1899 char *_kwnames
[] = { "encoding", NULL
};
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 wxFont::SetDefaultEncoding(_arg0
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1915 static void *SwigwxFontListTowxObject(void *ptr
) {
1918 src
= (wxFontList
*) ptr
;
1919 dest
= (wxObject
*) src
;
1920 return (void *) dest
;
1923 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
1924 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1928 PyObject
* _argo0
= 0;
1929 PyObject
* _argo1
= 0;
1930 char *_kwnames
[] = { "self","font", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
1936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
1943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 wxFontList_AddFont(_arg0
,_arg1
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) return NULL
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1960 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1961 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1969 bool _arg5
= (bool ) FALSE
;
1970 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
1971 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1972 PyObject
* _argo0
= 0;
1973 int tempbool5
= (int) FALSE
;
1974 PyObject
* _obj6
= 0;
1975 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
1988 _arg5
= (bool ) tempbool5
;
1991 _arg6
= wxString_in_helper(_obj6
);
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2003 _resultobj
= Py_BuildValue("s",_ptemp
);
2006 _resultobj
= Py_None
;
2015 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
2016 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2020 PyObject
* _argo0
= 0;
2021 PyObject
* _argo1
= 0;
2022 char *_kwnames
[] = { "self","font", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
2035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 wxFontList_RemoveFont(_arg0
,_arg1
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2047 } Py_INCREF(Py_None
);
2048 _resultobj
= Py_None
;
2052 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
2053 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 _result
= (int )wxFontList_GetCount(_arg0
);
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) return NULL
;
2076 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2081 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2083 wxPyFontEnumerator
* _result
;
2084 char *_kwnames
[] = { NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2098 _resultobj
= Py_BuildValue("s",_ptemp
);
2101 _resultobj
= Py_None
;
2106 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2107 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2109 wxPyFontEnumerator
* _arg0
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 delete_wxPyFontEnumerator(_arg0
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2134 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2135 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2137 wxPyFontEnumerator
* _arg0
;
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _obj1
= 0;
2143 PyObject
* _obj2
= 0;
2145 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2163 _arg3
= (bool ) tempbool3
;
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) return NULL
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2175 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2176 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2179 wxPyFontEnumerator
* _arg0
;
2180 wxFontEncoding _arg1
= (wxFontEncoding
) (wxFONTENCODING_SYSTEM
);
2181 bool _arg2
= (bool ) FALSE
;
2182 PyObject
* _argo0
= 0;
2183 int tempbool2
= (int) FALSE
;
2184 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2196 _arg2
= (bool ) tempbool2
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) return NULL
;
2203 } _resultobj
= Py_BuildValue("i",_result
);
2207 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2208 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2211 wxPyFontEnumerator
* _arg0
;
2212 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
2213 PyObject
* _argo0
= 0;
2214 PyObject
* _obj1
= 0;
2215 char *_kwnames
[] = { "self","facename", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2229 _arg1
= wxString_in_helper(_obj1
);
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2247 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2248 wxArrayString
* arr
= self
->GetEncodings();
2249 return wxArrayString2PyList_helper(*arr
);
2251 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2254 wxPyFontEnumerator
* _arg0
;
2255 PyObject
* _argo0
= 0;
2256 char *_kwnames
[] = { "self", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2275 _resultobj
= _result
;
2280 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2281 wxArrayString
* arr
= self
->GetFacenames();
2282 return wxArrayString2PyList_helper(*arr
);
2284 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 wxPyFontEnumerator
* _arg0
;
2288 PyObject
* _argo0
= 0;
2289 char *_kwnames
[] = { "self", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2308 _resultobj
= _result
;
2313 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval)
2314 static PyObject
*_wrap_wxLanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2317 wxLanguageInfo
* _arg0
;
2319 PyObject
* _argo0
= 0;
2320 char *_kwnames
[] = { "self","Language", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p.");
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 _result
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2338 } _resultobj
= Py_BuildValue("i",_result
);
2342 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language)
2343 static PyObject
*_wrap_wxLanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2346 wxLanguageInfo
* _arg0
;
2347 PyObject
* _argo0
= 0;
2348 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_get. Expected _wxLanguageInfo_p.");
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 _result
= (int )wxLanguageInfo_Language_get(_arg0
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) return NULL
;
2366 } _resultobj
= Py_BuildValue("i",_result
);
2370 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval)
2371 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2374 wxLanguageInfo
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 PyObject
* _obj1
= 0;
2378 char *_kwnames
[] = { "self","CanonicalName", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))
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_CanonicalName_set. Expected _wxLanguageInfo_p.");
2391 _arg1
= wxString_in_helper(_obj1
);
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 _result
= (wxString
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) return NULL
;
2403 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2405 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2415 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName)
2416 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2419 wxLanguageInfo
* _arg0
;
2420 PyObject
* _argo0
= 0;
2421 char *_kwnames
[] = { "self", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))
2427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p.");
2434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2435 _result
= (wxString
*)wxLanguageInfo_CanonicalName_get(_arg0
);
2437 wxPyEndAllowThreads(__tstate
);
2438 if (PyErr_Occurred()) return NULL
;
2441 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2443 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2449 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval)
2450 static PyObject
*_wrap_wxLanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2453 wxLanguageInfo
* _arg0
;
2455 PyObject
* _argo0
= 0;
2456 PyObject
* _obj1
= 0;
2457 char *_kwnames
[] = { "self","Description", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_set. Expected _wxLanguageInfo_p.");
2470 _arg1
= wxString_in_helper(_obj1
);
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 _result
= (wxString
*)wxLanguageInfo_Description_set(_arg0
,_arg1
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2482 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2484 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2494 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description)
2495 static PyObject
*_wrap_wxLanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2498 wxLanguageInfo
* _arg0
;
2499 PyObject
* _argo0
= 0;
2500 char *_kwnames
[] = { "self", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p.");
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 _result
= (wxString
*)wxLanguageInfo_Description_get(_arg0
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) return NULL
;
2520 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2522 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2528 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1))
2529 static PyObject
*_wrap_new_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2532 int _arg0
= (int ) (wxLANGUAGE_DEFAULT
);
2533 int _arg1
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
2534 char *_kwnames
[] = { "language","flags", NULL
};
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 _result
= (wxLocale
*)new_wxLocale(_arg0
,_arg1
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) return NULL
;
2547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
2548 _resultobj
= Py_BuildValue("s",_ptemp
);
2551 _resultobj
= Py_None
;
2556 #define wxLocale_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2557 static PyObject
*_wrap_wxLocale_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2562 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2563 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2564 bool _arg4
= (bool ) TRUE
;
2565 bool _arg5
= (bool ) FALSE
;
2566 PyObject
* _argo0
= 0;
2567 PyObject
* _obj1
= 0;
2568 PyObject
* _obj2
= 0;
2569 PyObject
* _obj3
= 0;
2570 int tempbool4
= (int) TRUE
;
2571 int tempbool5
= (int) FALSE
;
2572 char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init. Expected _wxLocale_p.");
2585 _arg1
= wxString_in_helper(_obj1
);
2591 _arg2
= wxString_in_helper(_obj2
);
2597 _arg3
= wxString_in_helper(_obj3
);
2601 _arg4
= (bool ) tempbool4
;
2602 _arg5
= (bool ) tempbool5
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 _result
= (bool )wxLocale_Init(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2609 } _resultobj
= Py_BuildValue("i",_result
);
2625 #define delete_wxLocale(_swigobj) (delete _swigobj)
2626 static PyObject
*_wrap_delete_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))
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 delete_wxLocale. Expected _wxLocale_p.");
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 delete_wxLocale(_arg0
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) return NULL
;
2648 } Py_INCREF(Py_None
);
2649 _resultobj
= Py_None
;
2653 static PyObject
*_wrap_wxLocale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2656 char *_kwnames
[] = { NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 _result
= (int )wxLocale::GetSystemLanguage();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2667 } _resultobj
= Py_BuildValue("i",_result
);
2671 static PyObject
*_wrap_wxLocale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2673 wxFontEncoding _result
;
2674 char *_kwnames
[] = { NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 _result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) return NULL
;
2685 } _resultobj
= Py_BuildValue("i",_result
);
2689 static PyObject
*_wrap_wxLocale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2692 char *_kwnames
[] = { NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 _result
= new wxString (wxLocale::GetSystemEncodingName());
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) return NULL
;
2705 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2707 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2716 #define wxLocale_IsOk(_swigobj) (_swigobj->IsOk())
2717 static PyObject
*_wrap_wxLocale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 _result
= (bool )wxLocale_IsOk(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } _resultobj
= Py_BuildValue("i",_result
);
2744 #define wxLocale_GetLocale(_swigobj) (_swigobj->GetLocale())
2745 static PyObject
*_wrap_wxLocale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLocale",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLocale. Expected _wxLocale_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= new wxString (wxLocale_GetLocale(_arg0
));
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2770 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2772 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2781 #define wxLocale_GetLanguage(_swigobj) (_swigobj->GetLanguage())
2782 static PyObject
*_wrap_wxLocale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2786 PyObject
* _argo0
= 0;
2787 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 _result
= (int )wxLocale_GetLanguage(_arg0
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxLocale_GetSysName(_swigobj) (_swigobj->GetSysName())
2810 static PyObject
*_wrap_wxLocale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetSysName",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetSysName. Expected _wxLocale_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 _result
= new wxString (wxLocale_GetSysName(_arg0
));
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2835 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2837 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2846 #define wxLocale_GetCanonicalName(_swigobj) (_swigobj->GetCanonicalName())
2847 static PyObject
*_wrap_wxLocale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 _result
= new wxString (wxLocale_GetCanonicalName(_arg0
));
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) return NULL
;
2872 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2874 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2883 static PyObject
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2886 PyObject
* _obj0
= 0;
2887 char *_kwnames
[] = { "prefix", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))
2893 _arg0
= wxString_in_helper(_obj0
);
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 wxLocale::AddCatalogLookupPathPrefix(*_arg0
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) return NULL
;
2903 } Py_INCREF(Py_None
);
2904 _resultobj
= Py_None
;
2912 #define wxLocale_AddCatalog(_swigobj,_swigarg0) (_swigobj->AddCatalog(_swigarg0))
2913 static PyObject
*_wrap_wxLocale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 PyObject
* _obj1
= 0;
2920 char *_kwnames
[] = { "self","szDomain", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p.");
2933 _arg1
= wxString_in_helper(_obj1
);
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2943 } _resultobj
= Py_BuildValue("i",_result
);
2951 #define wxLocale_IsLoaded(_swigobj,_swigarg0) (_swigobj->IsLoaded(_swigarg0))
2952 static PyObject
*_wrap_wxLocale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2957 PyObject
* _argo0
= 0;
2958 PyObject
* _obj1
= 0;
2959 char *_kwnames
[] = { "self","szDomain", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p.");
2972 _arg1
= wxString_in_helper(_obj1
);
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 _result
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2982 } _resultobj
= Py_BuildValue("i",_result
);
2990 static PyObject
*_wrap_wxLocale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2992 wxLanguageInfo
* _arg0
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "info", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p.");
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 wxLocale::AddLanguage(*_arg0
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 } Py_INCREF(Py_None
);
3013 _resultobj
= Py_None
;
3017 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetString(_swigarg0,_swigarg1))
3018 static PyObject
*_wrap_wxLocale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3023 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3024 PyObject
* _argo0
= 0;
3025 PyObject
* _obj1
= 0;
3026 PyObject
* _obj2
= 0;
3027 char *_kwnames
[] = { "self","szOrigString","szDomain", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetString. Expected _wxLocale_p.");
3040 _arg1
= wxString_in_helper(_obj1
);
3046 _arg2
= wxString_in_helper(_obj2
);
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 _result
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
));
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3058 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3060 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3077 #define wxLocale_GetName(_swigobj) (_swigobj->GetName())
3078 static PyObject
*_wrap_wxLocale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3082 PyObject
* _argo0
= 0;
3083 char *_kwnames
[] = { "self", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetName. Expected _wxLocale_p.");
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 const wxString
& _result_ref
= wxLocale_GetName(_arg0
);
3098 _result
= (wxString
*) &_result_ref
;
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3104 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3112 static void *SwigwxEncodingConverterTowxObject(void *ptr
) {
3113 wxEncodingConverter
*src
;
3115 src
= (wxEncodingConverter
*) ptr
;
3116 dest
= (wxObject
*) src
;
3117 return (void *) dest
;
3120 #define new_wxEncodingConverter() (new wxEncodingConverter())
3121 static PyObject
*_wrap_new_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3123 wxEncodingConverter
* _result
;
3124 char *_kwnames
[] = { NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 _result
= (wxEncodingConverter
*)new_wxEncodingConverter();
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) return NULL
;
3137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p");
3138 _resultobj
= Py_BuildValue("s",_ptemp
);
3141 _resultobj
= Py_None
;
3146 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj)
3147 static PyObject
*_wrap_delete_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3149 wxEncodingConverter
* _arg0
;
3150 PyObject
* _argo0
= 0;
3151 char *_kwnames
[] = { "self", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 delete_wxEncodingConverter(_arg0
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2))
3175 static PyObject
*_wrap_wxEncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3178 wxEncodingConverter
* _arg0
;
3179 wxFontEncoding _arg1
;
3180 wxFontEncoding _arg2
;
3181 int _arg3
= (int ) (wxCONVERT_STRICT
);
3182 PyObject
* _argo0
= 0;
3183 char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p.");
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 _result
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } _resultobj
= Py_BuildValue("i",_result
);
3205 #define wxEncodingConverter_Convert(_swigobj,_swigarg0) (_swigobj->Convert(_swigarg0))
3206 static PyObject
*_wrap_wxEncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3209 wxEncodingConverter
* _arg0
;
3211 PyObject
* _argo0
= 0;
3212 PyObject
* _obj1
= 0;
3213 char *_kwnames
[] = { "self","input", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p.");
3226 _arg1
= wxString_in_helper(_obj1
);
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
));
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3238 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3240 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3253 static PyObject
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3255 wxFontEncodingArray
* _result
;
3256 wxFontEncoding _arg0
;
3257 int _arg1
= (int ) (wxPLATFORM_CURRENT
);
3258 char *_kwnames
[] = { "enc","platform", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 _result
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
));
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3270 _resultobj
= PyList_New(0);
3271 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3272 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3273 PyList_Append(_resultobj
, number
);
3280 static PyObject
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxFontEncodingArray
* _result
;
3283 wxFontEncoding _arg0
;
3284 char *_kwnames
[] = { "enc", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 _result
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
));
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3296 _resultobj
= PyList_New(0);
3297 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3298 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3299 PyList_Append(_resultobj
, number
);
3306 static PyMethodDef fontscMethods
[] = {
3307 { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3308 { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3309 { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
3310 { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
3311 { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3312 { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3313 { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
3314 { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3315 { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3316 { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
3317 { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
3318 { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
3319 { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
3320 { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
3321 { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3322 { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3323 { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
3324 { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3325 { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3326 { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3327 { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3328 { "wxLocale_Init", (PyCFunction
) _wrap_wxLocale_Init
, METH_VARARGS
| METH_KEYWORDS
},
3329 { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3330 { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
3331 { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
3332 { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
3333 { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
3334 { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
3335 { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
3336 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3337 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3338 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3339 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3340 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3341 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3342 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3343 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
3344 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
3345 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
3346 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
3347 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3348 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3349 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
3350 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
3351 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
3352 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3353 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3354 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3355 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3356 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3357 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3358 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3359 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3360 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3361 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3362 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
3363 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3364 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
3365 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3366 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3367 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3368 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3369 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3370 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3371 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3372 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
3373 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3374 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
3375 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3376 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
3377 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
3378 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
3379 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
3380 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
3381 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
3382 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3383 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3384 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
3385 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3386 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
3387 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
3388 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
3389 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
3390 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
3391 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
3392 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
3393 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
3394 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3395 { "wxNativeFontInfo_SetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_SetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
3396 { "wxNativeFontInfo_GetXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_GetXFontName
, METH_VARARGS
| METH_KEYWORDS
},
3397 { "wxNativeFontInfo_IsDefault", (PyCFunction
) _wrap_wxNativeFontInfo_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
3398 { "wxNativeFontInfo_FromXFontName", (PyCFunction
) _wrap_wxNativeFontInfo_FromXFontName
, METH_VARARGS
| METH_KEYWORDS
},
3399 { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS
| METH_KEYWORDS
},
3400 { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3407 * This table is used by the pointer type-checker
3409 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3410 { "_signed_long","_long",0},
3411 { "_wxPrintQuality","_wxCoord",0},
3412 { "_wxPrintQuality","_int",0},
3413 { "_wxPrintQuality","_signed_int",0},
3414 { "_wxPrintQuality","_unsigned_int",0},
3415 { "_wxPrintQuality","_wxWindowID",0},
3416 { "_wxPrintQuality","_uint",0},
3417 { "_wxPrintQuality","_EBool",0},
3418 { "_wxPrintQuality","_size_t",0},
3419 { "_wxPrintQuality","_time_t",0},
3420 { "_byte","_unsigned_char",0},
3421 { "_long","_unsigned_long",0},
3422 { "_long","_signed_long",0},
3423 { "_size_t","_wxCoord",0},
3424 { "_size_t","_wxPrintQuality",0},
3425 { "_size_t","_time_t",0},
3426 { "_size_t","_unsigned_int",0},
3427 { "_size_t","_int",0},
3428 { "_size_t","_wxWindowID",0},
3429 { "_size_t","_uint",0},
3430 { "_uint","_wxCoord",0},
3431 { "_uint","_wxPrintQuality",0},
3432 { "_uint","_time_t",0},
3433 { "_uint","_size_t",0},
3434 { "_uint","_unsigned_int",0},
3435 { "_uint","_int",0},
3436 { "_uint","_wxWindowID",0},
3437 { "_wxChar","_char",0},
3438 { "_char","_wxChar",0},
3439 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3440 { "_EBool","_wxCoord",0},
3441 { "_EBool","_wxPrintQuality",0},
3442 { "_EBool","_signed_int",0},
3443 { "_EBool","_int",0},
3444 { "_EBool","_wxWindowID",0},
3445 { "_unsigned_long","_long",0},
3446 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3447 { "_signed_int","_wxCoord",0},
3448 { "_signed_int","_wxPrintQuality",0},
3449 { "_signed_int","_EBool",0},
3450 { "_signed_int","_wxWindowID",0},
3451 { "_signed_int","_int",0},
3452 { "_WXTYPE","_short",0},
3453 { "_WXTYPE","_signed_short",0},
3454 { "_WXTYPE","_unsigned_short",0},
3455 { "_unsigned_short","_WXTYPE",0},
3456 { "_unsigned_short","_short",0},
3457 { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
},
3458 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
3459 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
3460 { "_signed_short","_WXTYPE",0},
3461 { "_signed_short","_short",0},
3462 { "_unsigned_char","_byte",0},
3463 { "_unsigned_int","_wxCoord",0},
3464 { "_unsigned_int","_wxPrintQuality",0},
3465 { "_unsigned_int","_time_t",0},
3466 { "_unsigned_int","_size_t",0},
3467 { "_unsigned_int","_uint",0},
3468 { "_unsigned_int","_wxWindowID",0},
3469 { "_unsigned_int","_int",0},
3470 { "_short","_WXTYPE",0},
3471 { "_short","_unsigned_short",0},
3472 { "_short","_signed_short",0},
3473 { "_wxWindowID","_wxCoord",0},
3474 { "_wxWindowID","_wxPrintQuality",0},
3475 { "_wxWindowID","_time_t",0},
3476 { "_wxWindowID","_size_t",0},
3477 { "_wxWindowID","_EBool",0},
3478 { "_wxWindowID","_uint",0},
3479 { "_wxWindowID","_int",0},
3480 { "_wxWindowID","_signed_int",0},
3481 { "_wxWindowID","_unsigned_int",0},
3482 { "_int","_wxCoord",0},
3483 { "_int","_wxPrintQuality",0},
3484 { "_int","_time_t",0},
3485 { "_int","_size_t",0},
3486 { "_int","_EBool",0},
3487 { "_int","_uint",0},
3488 { "_int","_wxWindowID",0},
3489 { "_int","_unsigned_int",0},
3490 { "_int","_signed_int",0},
3491 { "_time_t","_wxCoord",0},
3492 { "_time_t","_wxPrintQuality",0},
3493 { "_time_t","_unsigned_int",0},
3494 { "_time_t","_int",0},
3495 { "_time_t","_wxWindowID",0},
3496 { "_time_t","_uint",0},
3497 { "_time_t","_size_t",0},
3498 { "_wxCoord","_int",0},
3499 { "_wxCoord","_signed_int",0},
3500 { "_wxCoord","_unsigned_int",0},
3501 { "_wxCoord","_wxWindowID",0},
3502 { "_wxCoord","_uint",0},
3503 { "_wxCoord","_EBool",0},
3504 { "_wxCoord","_size_t",0},
3505 { "_wxCoord","_time_t",0},
3506 { "_wxCoord","_wxPrintQuality",0},
3509 static PyObject
*SWIG_globals
;
3513 SWIGEXPORT(void) initfontsc() {
3515 SWIG_globals
= SWIG_newvarlink();
3516 m
= Py_InitModule("fontsc", fontscMethods
);
3517 d
= PyModule_GetDict(m
);
3518 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
3519 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
3520 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
3521 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
3522 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
3523 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
3524 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
3525 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
3526 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
3527 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
3528 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
3529 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
3530 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
3531 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
3532 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
3533 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
3534 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
3535 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
3536 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
3537 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
3538 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
3539 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
3540 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
3541 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
3542 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
3543 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
3544 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
3545 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
3546 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
3547 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
3548 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
3549 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
3550 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
3551 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
3552 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
3553 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
3554 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
3555 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
3556 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
3557 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
3558 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
3559 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
3560 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
3561 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
3562 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
3563 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
3564 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
3565 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
3566 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
3567 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
3568 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
3569 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
3570 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
3571 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
3572 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
3573 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
3574 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
3575 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
3576 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
3577 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
3578 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
3579 PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
));
3580 PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
));
3581 PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
));
3582 PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
));
3583 PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
));
3584 PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
));
3585 PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
));
3586 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
));
3587 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
));
3588 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
));
3589 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
));
3590 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
));
3591 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
));
3592 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
));
3593 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
));
3594 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
));
3595 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
));
3596 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
));
3597 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
));
3598 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
3599 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
));
3600 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
));
3601 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
));
3602 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
));
3603 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
));
3604 PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
));
3605 PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
));
3606 PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
));
3607 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
));
3608 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
));
3609 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
));
3610 PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
));
3611 PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
));
3612 PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
));
3613 PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
));
3614 PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
));
3615 PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
));
3616 PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
));
3617 PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
));
3618 PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
));
3619 PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
));
3620 PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
));
3621 PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
));
3622 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
));
3623 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
));
3624 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
));
3625 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
));
3626 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
));
3627 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
));
3628 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
));
3629 PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
));
3630 PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
));
3631 PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
));
3632 PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
));
3633 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
));
3634 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
));
3635 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
));
3636 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
));
3637 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
));
3638 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
));
3639 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
));
3640 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
));
3641 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
));
3642 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
));
3643 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
));
3644 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
));
3645 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
));
3646 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
3647 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
));
3648 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
3649 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
));
3650 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
));
3651 PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
));
3652 PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
));
3653 PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
));
3654 PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
));
3655 PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
));
3656 PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
));
3657 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
));
3658 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
));
3659 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
));
3660 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
));
3661 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
));
3662 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
));
3663 PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
));
3664 PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
));
3665 PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
));
3666 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
));
3667 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
));
3668 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
));
3669 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
3670 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
));
3671 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
));
3672 PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
));
3673 PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
));
3674 PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
));
3675 PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
));
3676 PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
));
3677 PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
));
3678 PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
));
3679 PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
));
3680 PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
));
3681 PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
));
3682 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
));
3683 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
));
3684 PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
));
3685 PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
));
3686 PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
));
3687 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
));
3688 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
));
3689 PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
));
3690 PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
));
3691 PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
));
3692 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
));
3693 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
));
3694 PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
));
3695 PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
));
3696 PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
));
3697 PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
));
3698 PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
));
3699 PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
));
3700 PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
));
3701 PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
));
3702 PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
));
3703 PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
));
3704 PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
));
3705 PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
));
3706 PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
));
3707 PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
));
3708 PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
));
3709 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
));
3710 PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
));
3711 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
3712 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
));
3713 PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
));
3714 PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
));
3715 PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
));
3716 PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
));
3717 PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
));
3718 PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
));
3719 PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
));
3720 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
));
3721 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
));
3722 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
));
3723 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
));
3724 PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
));
3725 PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
));
3726 PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
));
3727 PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
));
3728 PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
));
3729 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
));
3730 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
3731 PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
));
3732 PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
));
3733 PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
));
3734 PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
));
3735 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
));
3736 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
));
3737 PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
));
3738 PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
));
3739 PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
));
3740 PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
));
3741 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
));
3742 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
));
3743 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
));
3744 PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
));
3745 PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
));
3746 PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
));
3747 PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
));
3748 PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
));
3749 PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
));
3750 PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
));
3751 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
));
3752 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
));
3753 PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
));
3754 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
));
3755 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
));
3756 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
));
3757 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
));
3758 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
));
3759 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
));
3760 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
3761 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
));
3762 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
));
3763 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
));
3764 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
));
3765 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
));
3766 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
));
3767 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
));
3768 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
));
3769 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
));
3770 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
));
3771 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
));
3772 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
));
3773 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
));
3774 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
));
3775 PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
));
3776 PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
));
3777 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
));
3778 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
));
3779 PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
));
3780 PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
));
3781 PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
));
3782 PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
));
3783 PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
));
3784 PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
));
3785 PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
));
3786 PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
));
3787 PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
));
3788 PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
));
3789 PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
));
3790 PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
));
3791 PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
));
3792 PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
));
3793 PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
));
3794 PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
));
3795 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
));
3796 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
));
3797 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
));
3798 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
));
3799 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
));
3800 PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
));
3801 PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
));
3802 PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
));
3803 PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
));
3804 PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
));
3805 PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
));
3806 PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
));
3807 PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
));
3808 PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
));
3809 PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
));
3810 PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
));
3811 PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
));
3812 PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
));
3813 PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
));
3814 PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
));
3815 PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
));
3816 PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
));
3817 PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
));
3818 PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
));
3819 PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
));
3820 PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
));
3821 PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
));
3822 PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
));
3823 PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
));
3824 PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
));
3826 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
3829 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3830 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);