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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initfontsc
55 #define SWIG_name "fontsc"
58 #include <wx/fontmap.h>
59 #include <wx/fontenc.h>
60 #include <wx/fontutil.h>
61 #include <wx/fontenum.h>
63 #include <wx/encconv.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 // Put some wx default wxChar* values into wxStrings.
93 static const wxString
wxPyEmptyString(wxT(""));
95 // Fix some link errors... Remove this when these methods get real implementations...
96 // #if defined(__WXGTK__) || defined(__WXX11__)
98 // void wxNativeFontInfo::SetPointSize(int pointsize)
99 // { wxFAIL_MSG( _T("not implemented") ); }
101 // void wxNativeFontInfo::SetStyle(wxFontStyle style)
102 // { wxFAIL_MSG( _T("not implemented") ); }
104 // void wxNativeFontInfo::SetWeight(wxFontWeight weight)
105 // { wxFAIL_MSG( _T("not implemented") ); }
107 // void wxNativeFontInfo::SetUnderlined(bool WXUNUSED(underlined))
108 // { wxFAIL_MSG( _T("not implemented") ); }
110 // void wxNativeFontInfo::SetFaceName(wxString facename)
111 // { wxFAIL_MSG( _T("not implemented") ); }
113 // void wxNativeFontInfo::SetFamily(wxFontFamily family)
114 // { wxFAIL_MSG( _T("not implemented") ); }
116 // void wxNativeFontInfo::SetEncoding(wxFontEncoding encoding)
117 // { wxFAIL_MSG( _T("not implemented") ); }
121 class wxPyFontEnumerator
: public wxFontEnumerator
{
123 wxPyFontEnumerator() {}
124 ~wxPyFontEnumerator() {}
126 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
127 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
132 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
133 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
138 static PyObject
*_wrap_wxGetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
141 char *_kwnames
[] = { NULL
};
145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocale",_kwnames
))
148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
149 _result
= (wxLocale
*)wxGetLocale();
151 wxPyEndAllowThreads(__tstate
);
152 if (PyErr_Occurred()) return NULL
;
154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
155 _resultobj
= Py_BuildValue("s",_ptemp
);
158 _resultobj
= Py_None
;
163 static PyObject
*_wrap_wxGetTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
164 PyObject
* _resultobj
;
167 PyObject
* _obj0
= 0;
168 char *_kwnames
[] = { "sz", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTranslation",_kwnames
,&_obj0
))
174 _arg0
= wxString_in_helper(_obj0
);
179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
180 _result
= new wxString (wxGetTranslation(*_arg0
));
182 wxPyEndAllowThreads(__tstate
);
183 if (PyErr_Occurred()) return NULL
;
186 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
188 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
201 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
202 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
203 PyObject
* _resultobj
;
204 wxNativeFontInfo
* _result
;
205 char *_kwnames
[] = { NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
213 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
215 wxPyEndAllowThreads(__tstate
);
216 if (PyErr_Occurred()) return NULL
;
218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
219 _resultobj
= Py_BuildValue("s",_ptemp
);
222 _resultobj
= Py_None
;
227 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
228 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxNativeFontInfo
* _arg0
;
231 PyObject
* _argo0
= 0;
232 char *_kwnames
[] = { "self", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
246 wxNativeFontInfo_Init(_arg0
);
248 wxPyEndAllowThreads(__tstate
);
249 if (PyErr_Occurred()) return NULL
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 #define wxNativeFontInfo_InitFromFont(_swigobj,_swigarg0) (_swigobj->InitFromFont(_swigarg0))
256 static PyObject
*_wrap_wxNativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 wxNativeFontInfo
* _arg0
;
260 PyObject
* _argo0
= 0;
261 PyObject
* _argo1
= 0;
262 char *_kwnames
[] = { "self","font", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_InitFromFont",_kwnames
,&_argo0
,&_argo1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_InitFromFont. Expected _wxNativeFontInfo_p.");
275 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxNativeFontInfo_InitFromFont. Expected _wxFont_p.");
281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
282 wxNativeFontInfo_InitFromFont(_arg0
,*_arg1
);
284 wxPyEndAllowThreads(__tstate
);
285 if (PyErr_Occurred()) return NULL
;
286 } Py_INCREF(Py_None
);
287 _resultobj
= Py_None
;
291 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
292 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
295 wxNativeFontInfo
* _arg0
;
296 PyObject
* _argo0
= 0;
297 char *_kwnames
[] = { "self", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
311 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
313 wxPyEndAllowThreads(__tstate
);
314 if (PyErr_Occurred()) return NULL
;
315 } _resultobj
= Py_BuildValue("i",_result
);
319 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
320 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 wxNativeFontInfo
* _arg0
;
324 PyObject
* _argo0
= 0;
325 char *_kwnames
[] = { "self", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
339 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
341 wxPyEndAllowThreads(__tstate
);
342 if (PyErr_Occurred()) return NULL
;
343 } _resultobj
= Py_BuildValue("i",_result
);
347 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
348 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
350 wxFontWeight _result
;
351 wxNativeFontInfo
* _arg0
;
352 PyObject
* _argo0
= 0;
353 char *_kwnames
[] = { "self", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
367 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
369 wxPyEndAllowThreads(__tstate
);
370 if (PyErr_Occurred()) return NULL
;
371 } _resultobj
= Py_BuildValue("i",_result
);
375 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
376 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
379 wxNativeFontInfo
* _arg0
;
380 PyObject
* _argo0
= 0;
381 char *_kwnames
[] = { "self", NULL
};
384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
395 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
397 wxPyEndAllowThreads(__tstate
);
398 if (PyErr_Occurred()) return NULL
;
399 } _resultobj
= Py_BuildValue("i",_result
);
403 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
404 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
407 wxNativeFontInfo
* _arg0
;
408 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
429 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
440 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
441 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
443 wxFontFamily _result
;
444 wxNativeFontInfo
* _arg0
;
445 PyObject
* _argo0
= 0;
446 char *_kwnames
[] = { "self", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
460 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
462 wxPyEndAllowThreads(__tstate
);
463 if (PyErr_Occurred()) return NULL
;
464 } _resultobj
= Py_BuildValue("i",_result
);
468 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
469 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
471 wxFontEncoding _result
;
472 wxNativeFontInfo
* _arg0
;
473 PyObject
* _argo0
= 0;
474 char *_kwnames
[] = { "self", NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
488 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
490 wxPyEndAllowThreads(__tstate
);
491 if (PyErr_Occurred()) return NULL
;
492 } _resultobj
= Py_BuildValue("i",_result
);
496 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
497 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
499 wxNativeFontInfo
* _arg0
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self","pointsize", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
516 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
518 wxPyEndAllowThreads(__tstate
);
519 if (PyErr_Occurred()) return NULL
;
520 } Py_INCREF(Py_None
);
521 _resultobj
= Py_None
;
525 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
526 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
527 PyObject
* _resultobj
;
528 wxNativeFontInfo
* _arg0
;
530 PyObject
* _argo0
= 0;
531 char *_kwnames
[] = { "self","style", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } Py_INCREF(Py_None
);
550 _resultobj
= Py_None
;
554 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
555 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxNativeFontInfo
* _arg0
;
559 PyObject
* _argo0
= 0;
560 char *_kwnames
[] = { "self","weight", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
574 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
576 wxPyEndAllowThreads(__tstate
);
577 if (PyErr_Occurred()) return NULL
;
578 } Py_INCREF(Py_None
);
579 _resultobj
= Py_None
;
583 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
584 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
586 wxNativeFontInfo
* _arg0
;
588 PyObject
* _argo0
= 0;
590 char *_kwnames
[] = { "self","underlined", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
602 _arg1
= (bool ) tempbool1
;
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
615 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
617 wxNativeFontInfo
* _arg0
;
619 PyObject
* _argo0
= 0;
620 PyObject
* _obj1
= 0;
621 char *_kwnames
[] = { "self","facename", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
634 _arg1
= wxString_in_helper(_obj1
);
639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
640 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
642 wxPyEndAllowThreads(__tstate
);
643 if (PyErr_Occurred()) return NULL
;
644 } Py_INCREF(Py_None
);
645 _resultobj
= Py_None
;
653 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
654 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
656 wxNativeFontInfo
* _arg0
;
658 PyObject
* _argo0
= 0;
659 char *_kwnames
[] = { "self","family", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) return NULL
;
677 } Py_INCREF(Py_None
);
678 _resultobj
= Py_None
;
682 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
683 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
685 wxNativeFontInfo
* _arg0
;
686 wxFontEncoding _arg1
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self","encoding", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
712 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
715 wxNativeFontInfo
* _arg0
;
717 PyObject
* _argo0
= 0;
718 PyObject
* _obj1
= 0;
719 char *_kwnames
[] = { "self","s", NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
732 _arg1
= wxString_in_helper(_obj1
);
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) return NULL
;
742 } _resultobj
= Py_BuildValue("i",_result
);
750 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
751 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
754 wxNativeFontInfo
* _arg0
;
755 PyObject
* _argo0
= 0;
756 char *_kwnames
[] = { "self", NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
770 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
772 wxPyEndAllowThreads(__tstate
);
773 if (PyErr_Occurred()) return NULL
;
776 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
787 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
788 return self
->ToString();
790 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 wxNativeFontInfo
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
809 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) return NULL
;
815 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
817 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
826 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
827 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 PyObject
* _resultobj
;
830 wxNativeFontInfo
* _arg0
;
832 PyObject
* _argo0
= 0;
833 PyObject
* _obj1
= 0;
834 char *_kwnames
[] = { "self","s", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
847 _arg1
= wxString_in_helper(_obj1
);
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) return NULL
;
857 } _resultobj
= Py_BuildValue("i",_result
);
865 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
866 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 wxNativeFontInfo
* _arg0
;
870 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
891 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
902 #define new_wxFontMapper() (new wxFontMapper())
903 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
905 wxFontMapper
* _result
;
906 char *_kwnames
[] = { NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
914 _result
= (wxFontMapper
*)new_wxFontMapper();
916 wxPyEndAllowThreads(__tstate
);
917 if (PyErr_Occurred()) return NULL
;
919 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
920 _resultobj
= Py_BuildValue("s",_ptemp
);
923 _resultobj
= Py_None
;
928 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
929 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
931 wxFontMapper
* _arg0
;
932 PyObject
* _argo0
= 0;
933 char *_kwnames
[] = { "self", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
947 delete_wxFontMapper(_arg0
);
949 wxPyEndAllowThreads(__tstate
);
950 if (PyErr_Occurred()) return NULL
;
951 } Py_INCREF(Py_None
);
952 _resultobj
= Py_None
;
956 static PyObject
*_wrap_wxFontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
958 wxFontMapper
* _result
;
959 char *_kwnames
[] = { NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_Get",_kwnames
))
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 _result
= (wxFontMapper
*)wxFontMapper::Get();
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
973 _resultobj
= Py_BuildValue("s",_ptemp
);
976 _resultobj
= Py_None
;
981 static PyObject
*_wrap_wxFontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 PyObject
* _resultobj
;
983 wxFontMapper
* _result
;
984 wxFontMapper
* _arg0
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "mapper", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontMapper_Set",_kwnames
,&_argo0
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_Set. Expected _wxFontMapper_p.");
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 _result
= (wxFontMapper
*)wxFontMapper::Set(_arg0
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) return NULL
;
1006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
1007 _resultobj
= Py_BuildValue("s",_ptemp
);
1010 _resultobj
= Py_None
;
1015 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
1016 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1018 wxFontEncoding _result
;
1019 wxFontMapper
* _arg0
;
1021 bool _arg2
= (bool ) true;
1022 PyObject
* _argo0
= 0;
1023 PyObject
* _obj1
= 0;
1024 int tempbool2
= (int) true;
1025 char *_kwnames
[] = { "self","charset","interactive", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
1038 _arg1
= wxString_in_helper(_obj1
);
1042 _arg2
= (bool ) tempbool2
;
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } _resultobj
= Py_BuildValue("i",_result
);
1057 static PyObject
*_wrap_wxFontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 char *_kwnames
[] = { NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetSupportedEncodingsCount",_kwnames
))
1066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1067 _result
= (size_t )wxFontMapper::GetSupportedEncodingsCount();
1069 wxPyEndAllowThreads(__tstate
);
1070 if (PyErr_Occurred()) return NULL
;
1071 } _resultobj
= Py_BuildValue("i",_result
);
1075 static PyObject
*_wrap_wxFontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1077 wxFontEncoding _result
;
1079 char *_kwnames
[] = { "n", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncoding",_kwnames
,&_arg0
))
1085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1086 _result
= (wxFontEncoding
)wxFontMapper::GetEncoding(_arg0
);
1088 wxPyEndAllowThreads(__tstate
);
1089 if (PyErr_Occurred()) return NULL
;
1090 } _resultobj
= Py_BuildValue("i",_result
);
1094 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1097 wxFontEncoding _arg0
;
1098 char *_kwnames
[] = { "encoding", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1111 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1113 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1122 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1125 wxFontEncoding _arg0
;
1126 char *_kwnames
[] = { "encoding", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1139 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1141 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1150 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
1151 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1153 wxFontMapper
* _arg0
;
1154 wxConfigBase
* _arg1
;
1155 PyObject
* _argo0
= 0;
1156 PyObject
* _argo1
= 0;
1157 char *_kwnames
[] = { "self","config", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
1163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
1170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 wxFontMapper_SetConfig(_arg0
,_arg1
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) return NULL
;
1182 } Py_INCREF(Py_None
);
1183 _resultobj
= Py_None
;
1187 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
1188 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1190 wxFontMapper
* _arg0
;
1192 PyObject
* _argo0
= 0;
1193 PyObject
* _obj1
= 0;
1194 char *_kwnames
[] = { "self","prefix", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
1200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
1207 _arg1
= wxString_in_helper(_obj1
);
1212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1213 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
1215 wxPyEndAllowThreads(__tstate
);
1216 if (PyErr_Occurred()) return NULL
;
1217 } Py_INCREF(Py_None
);
1218 _resultobj
= Py_None
;
1226 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1229 char *_kwnames
[] = { NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) return NULL
;
1240 } _resultobj
= Py_BuildValue("s", _result
);
1244 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
1245 wxFontEncoding alt_enc
;
1246 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1247 return PyInt_FromLong(alt_enc
);
1253 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1256 wxFontMapper
* _arg0
;
1257 wxFontEncoding _arg1
;
1258 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1259 bool _arg3
= (bool ) TRUE
;
1260 PyObject
* _argo0
= 0;
1261 PyObject
* _obj2
= 0;
1262 int tempbool3
= (int) TRUE
;
1263 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
1277 _arg2
= wxString_in_helper(_obj2
);
1281 _arg3
= (bool ) tempbool3
;
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) return NULL
;
1289 _resultobj
= _result
;
1298 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
1299 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1302 wxFontMapper
* _arg0
;
1303 wxFontEncoding _arg1
;
1304 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1305 PyObject
* _argo0
= 0;
1306 PyObject
* _obj2
= 0;
1307 char *_kwnames
[] = { "self","encoding","facename", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
1321 _arg2
= wxString_in_helper(_obj2
);
1326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1327 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
1329 wxPyEndAllowThreads(__tstate
);
1330 if (PyErr_Occurred()) return NULL
;
1331 } _resultobj
= Py_BuildValue("i",_result
);
1339 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
1340 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxFontMapper
* _arg0
;
1344 PyObject
* _argo0
= 0;
1345 PyObject
* _argo1
= 0;
1346 char *_kwnames
[] = { "self","parent", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
1359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } Py_INCREF(Py_None
);
1372 _resultobj
= Py_None
;
1376 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
1377 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxFontMapper
* _arg0
;
1381 PyObject
* _argo0
= 0;
1382 PyObject
* _obj1
= 0;
1383 char *_kwnames
[] = { "self","title", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
1396 _arg1
= wxString_in_helper(_obj1
);
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1415 static void *SwigwxFontTowxObject(void *ptr
) {
1418 src
= (wxFont
*) ptr
;
1419 dest
= (wxObject
*) src
;
1420 return (void *) dest
;
1423 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1424 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1431 int _arg4
= (int ) FALSE
;
1432 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1433 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1434 PyObject
* _obj5
= 0;
1435 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
1443 _arg5
= wxString_in_helper(_obj5
);
1448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1449 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
1451 wxPyEndAllowThreads(__tstate
);
1452 if (PyErr_Occurred()) return NULL
;
1454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1455 _resultobj
= Py_BuildValue("s",_ptemp
);
1458 _resultobj
= Py_None
;
1467 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
1468 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1471 wxNativeFontInfo
* _arg0
;
1472 PyObject
* _argo0
= 0;
1473 char *_kwnames
[] = { "info", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
1480 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) return NULL
;
1492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1493 _resultobj
= Py_BuildValue("s",_ptemp
);
1496 _resultobj
= Py_None
;
1501 static wxFont
* wxFont_wxFontFromNativeInfoString(wxFont
*self
,const wxString
& info
) {
1502 wxNativeFontInfo nfi
;
1503 nfi
.FromString(info
);
1504 return new wxFont(nfi
);
1506 static PyObject
*_wrap_wxFont_wxFontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1511 PyObject
* _argo0
= 0;
1512 PyObject
* _obj1
= 0;
1513 char *_kwnames
[] = { "self","info", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_wxFontFromNativeInfoString",_kwnames
,&_argo0
,&_obj1
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_wxFontFromNativeInfoString. Expected _wxFont_p.");
1527 _arg1
= wxString_in_helper(_obj1
);
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (wxFont
*)wxFont_wxFontFromNativeInfoString(_arg0
,*_arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1542 _resultobj
= Py_None
;
1551 #define delete_wxFont(_swigobj) (delete _swigobj)
1552 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1555 PyObject
* _argo0
= 0;
1556 char *_kwnames
[] = { "self", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 delete_wxFont(_arg0
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) return NULL
;
1574 } Py_INCREF(Py_None
);
1575 _resultobj
= Py_None
;
1579 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1580 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 _result
= (bool )wxFont_Ok(_arg0
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) return NULL
;
1603 } _resultobj
= Py_BuildValue("i",_result
);
1607 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1608 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 _result
= (int )wxFont_GetPointSize(_arg0
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) return NULL
;
1631 } _resultobj
= Py_BuildValue("i",_result
);
1635 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1636 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 _result
= (int )wxFont_GetFamily(_arg0
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1659 } _resultobj
= Py_BuildValue("i",_result
);
1663 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1664 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1668 PyObject
* _argo0
= 0;
1669 char *_kwnames
[] = { "self", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
1675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (int )wxFont_GetStyle(_arg0
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1687 } _resultobj
= Py_BuildValue("i",_result
);
1691 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1692 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
* _resultobj
;
1696 PyObject
* _argo0
= 0;
1697 char *_kwnames
[] = { "self", NULL
};
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
1703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1711 _result
= (int )wxFont_GetWeight(_arg0
);
1713 wxPyEndAllowThreads(__tstate
);
1714 if (PyErr_Occurred()) return NULL
;
1715 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1720 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1724 PyObject
* _argo0
= 0;
1725 char *_kwnames
[] = { "self", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
1731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) return NULL
;
1743 } _resultobj
= Py_BuildValue("i",_result
);
1747 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1748 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) return NULL
;
1773 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1775 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1784 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
1785 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1787 wxFontEncoding _result
;
1789 PyObject
* _argo0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
1813 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1817 PyObject
* _argo0
= 0;
1818 char *_kwnames
[] = { "self", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("i",_result
);
1840 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
1841 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1843 wxNativeFontInfo
* _result
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_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_GetNativeFontInfo. Expected _wxFont_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
1867 _resultobj
= Py_BuildValue("s",_ptemp
);
1870 _resultobj
= Py_None
;
1875 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
1876 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1880 PyObject
* _argo0
= 0;
1881 char *_kwnames
[] = { "self", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1901 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1903 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1912 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
1913 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) return NULL
;
1938 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1940 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1949 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1950 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self","pointSize", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 wxFont_SetPointSize(_arg0
,_arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } Py_INCREF(Py_None
);
1974 _resultobj
= Py_None
;
1978 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1979 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1983 PyObject
* _argo0
= 0;
1984 char *_kwnames
[] = { "self","family", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
1990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 wxFont_SetFamily(_arg0
,_arg1
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) return NULL
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
2008 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self","style", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 wxFont_SetStyle(_arg0
,_arg1
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) return NULL
;
2031 } Py_INCREF(Py_None
);
2032 _resultobj
= Py_None
;
2036 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2037 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2041 PyObject
* _argo0
= 0;
2042 char *_kwnames
[] = { "self","weight", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 wxFont_SetWeight(_arg0
,_arg1
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) return NULL
;
2060 } Py_INCREF(Py_None
);
2061 _resultobj
= Py_None
;
2065 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2066 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2071 PyObject
* _obj1
= 0;
2072 char *_kwnames
[] = { "self","faceName", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2085 _arg1
= wxString_in_helper(_obj1
);
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 wxFont_SetFaceName(_arg0
,*_arg1
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2104 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2105 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2109 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self","underlined", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2123 _arg1
= (bool ) tempbool1
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 wxFont_SetUnderlined(_arg0
,_arg1
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) return NULL
;
2130 } Py_INCREF(Py_None
);
2131 _resultobj
= Py_None
;
2135 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2136 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2139 wxFontEncoding _arg1
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self","encoding", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 wxFont_SetEncoding(_arg0
,_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2159 } Py_INCREF(Py_None
);
2160 _resultobj
= Py_None
;
2164 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
2165 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2168 wxNativeFontInfo
* _arg1
;
2169 PyObject
* _argo0
= 0;
2170 PyObject
* _argo1
= 0;
2171 char *_kwnames
[] = { "self","info", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
2184 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2200 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
2201 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2205 PyObject
* _argo0
= 0;
2206 PyObject
* _obj1
= 0;
2207 char *_kwnames
[] = { "self","info", NULL
};
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
2213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
2220 _arg1
= wxString_in_helper(_obj1
);
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) return NULL
;
2230 } Py_INCREF(Py_None
);
2231 _resultobj
= Py_None
;
2239 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2240 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 PyObject
* _argo0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) return NULL
;
2265 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2267 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2276 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2277 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2282 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2302 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2304 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2313 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2314 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2318 PyObject
* _argo0
= 0;
2319 char *_kwnames
[] = { "self", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) return NULL
;
2339 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2341 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2350 #define wxFont_SetNoAntiAliasing(_swigobj,_swigarg0) (_swigobj->SetNoAntiAliasing(_swigarg0))
2351 static PyObject
*_wrap_wxFont_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2354 bool _arg1
= (bool ) TRUE
;
2355 PyObject
* _argo0
= 0;
2356 int tempbool1
= (int) TRUE
;
2357 char *_kwnames
[] = { "self","no", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFont_SetNoAntiAliasing",_kwnames
,&_argo0
,&tempbool1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNoAntiAliasing. Expected _wxFont_p.");
2369 _arg1
= (bool ) tempbool1
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 wxFont_SetNoAntiAliasing(_arg0
,_arg1
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) return NULL
;
2376 } Py_INCREF(Py_None
);
2377 _resultobj
= Py_None
;
2381 #define wxFont_GetNoAntiAliasing(_swigobj) (_swigobj->GetNoAntiAliasing())
2382 static PyObject
*_wrap_wxFont_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNoAntiAliasing",_kwnames
,&_argo0
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNoAntiAliasing. Expected _wxFont_p.");
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 _result
= (bool )wxFont_GetNoAntiAliasing(_arg0
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) return NULL
;
2405 } _resultobj
= Py_BuildValue("i",_result
);
2409 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2411 wxFontEncoding _result
;
2412 char *_kwnames
[] = { NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) return NULL
;
2423 } _resultobj
= Py_BuildValue("i",_result
);
2427 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2429 wxFontEncoding _arg0
;
2430 char *_kwnames
[] = { "encoding", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 wxFont::SetDefaultEncoding(_arg0
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) return NULL
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 static void *SwigwxFontListTowxObject(void *ptr
) {
2449 src
= (wxFontList
*) ptr
;
2450 dest
= (wxObject
*) src
;
2451 return (void *) dest
;
2454 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
2455 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2459 PyObject
* _argo0
= 0;
2460 PyObject
* _argo1
= 0;
2461 char *_kwnames
[] = { "self","font", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
2467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
2474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 wxFontList_AddFont(_arg0
,_arg1
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) return NULL
;
2486 } Py_INCREF(Py_None
);
2487 _resultobj
= Py_None
;
2491 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2492 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2500 bool _arg5
= (bool ) FALSE
;
2501 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
2502 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2503 PyObject
* _argo0
= 0;
2504 int tempbool5
= (int) FALSE
;
2505 PyObject
* _obj6
= 0;
2506 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
2513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
2519 _arg5
= (bool ) tempbool5
;
2522 _arg6
= wxString_in_helper(_obj6
);
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) return NULL
;
2533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2534 _resultobj
= Py_BuildValue("s",_ptemp
);
2537 _resultobj
= Py_None
;
2546 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
2547 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _argo1
= 0;
2553 char *_kwnames
[] = { "self","font", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
2566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxFontList_RemoveFont(_arg0
,_arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
2584 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 _result
= (int )wxFontList_GetCount(_arg0
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2607 } _resultobj
= Py_BuildValue("i",_result
);
2611 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2612 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxPyFontEnumerator
* _result
;
2615 char *_kwnames
[] = { NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2629 _resultobj
= Py_BuildValue("s",_ptemp
);
2632 _resultobj
= Py_None
;
2637 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2638 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2640 wxPyFontEnumerator
* _arg0
;
2641 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 delete_wxPyFontEnumerator(_arg0
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2665 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2666 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2668 wxPyFontEnumerator
* _arg0
;
2672 PyObject
* _argo0
= 0;
2673 PyObject
* _obj1
= 0;
2674 PyObject
* _obj2
= 0;
2676 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2694 _arg3
= (bool ) tempbool3
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) return NULL
;
2701 } Py_INCREF(Py_None
);
2702 _resultobj
= Py_None
;
2706 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2707 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
* _resultobj
;
2710 wxPyFontEnumerator
* _arg0
;
2711 wxFontEncoding _arg1
= (wxFontEncoding
) (wxFONTENCODING_SYSTEM
);
2712 bool _arg2
= (bool ) FALSE
;
2713 PyObject
* _argo0
= 0;
2714 int tempbool2
= (int) FALSE
;
2715 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2727 _arg2
= (bool ) tempbool2
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) return NULL
;
2734 } _resultobj
= Py_BuildValue("i",_result
);
2738 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2739 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2742 wxPyFontEnumerator
* _arg0
;
2743 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
2744 PyObject
* _argo0
= 0;
2745 PyObject
* _obj1
= 0;
2746 char *_kwnames
[] = { "self","facename", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2760 _arg1
= wxString_in_helper(_obj1
);
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) return NULL
;
2770 } _resultobj
= Py_BuildValue("i",_result
);
2778 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2779 wxArrayString
* arr
= self
->GetEncodings();
2780 return wxArrayString2PyList_helper(*arr
);
2782 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2785 wxPyFontEnumerator
* _arg0
;
2786 PyObject
* _argo0
= 0;
2787 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2806 _resultobj
= _result
;
2811 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2812 wxArrayString
* arr
= self
->GetFacenames();
2813 return wxArrayString2PyList_helper(*arr
);
2815 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxPyFontEnumerator
* _arg0
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) return NULL
;
2839 _resultobj
= _result
;
2844 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval)
2845 static PyObject
*_wrap_wxLanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2848 wxLanguageInfo
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","Language", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p.");
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 _result
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) return NULL
;
2869 } _resultobj
= Py_BuildValue("i",_result
);
2873 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language)
2874 static PyObject
*_wrap_wxLanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2877 wxLanguageInfo
* _arg0
;
2878 PyObject
* _argo0
= 0;
2879 char *_kwnames
[] = { "self", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_get. Expected _wxLanguageInfo_p.");
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 _result
= (int )wxLanguageInfo_Language_get(_arg0
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) return NULL
;
2897 } _resultobj
= Py_BuildValue("i",_result
);
2901 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval)
2902 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2905 wxLanguageInfo
* _arg0
;
2907 PyObject
* _argo0
= 0;
2908 PyObject
* _obj1
= 0;
2909 char *_kwnames
[] = { "self","CanonicalName", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_set. Expected _wxLanguageInfo_p.");
2922 _arg1
= wxString_in_helper(_obj1
);
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 _result
= (wxString
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2934 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2936 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2946 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName)
2947 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2950 wxLanguageInfo
* _arg0
;
2951 PyObject
* _argo0
= 0;
2952 char *_kwnames
[] = { "self", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p.");
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 _result
= (wxString
*)wxLanguageInfo_CanonicalName_get(_arg0
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) return NULL
;
2972 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2974 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2980 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval)
2981 static PyObject
*_wrap_wxLanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2984 wxLanguageInfo
* _arg0
;
2986 PyObject
* _argo0
= 0;
2987 PyObject
* _obj1
= 0;
2988 char *_kwnames
[] = { "self","Description", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_set. Expected _wxLanguageInfo_p.");
3001 _arg1
= wxString_in_helper(_obj1
);
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 _result
= (wxString
*)wxLanguageInfo_Description_set(_arg0
,_arg1
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) return NULL
;
3013 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3015 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3025 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description)
3026 static PyObject
*_wrap_wxLanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3029 wxLanguageInfo
* _arg0
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p.");
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 _result
= (wxString
*)wxLanguageInfo_Description_get(_arg0
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3051 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3059 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1))
3060 static PyObject
*_wrap_new_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3063 int _arg0
= (int ) (wxLANGUAGE_DEFAULT
);
3064 int _arg1
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
3065 char *_kwnames
[] = { "language","flags", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 _result
= (wxLocale
*)new_wxLocale(_arg0
,_arg1
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) return NULL
;
3078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
3079 _resultobj
= Py_BuildValue("s",_ptemp
);
3082 _resultobj
= Py_None
;
3087 #define delete_wxLocale(_swigobj) (delete _swigobj)
3088 static PyObject
*_wrap_delete_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLocale. Expected _wxLocale_p.");
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 delete_wxLocale(_arg0
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) return NULL
;
3110 } Py_INCREF(Py_None
);
3111 _resultobj
= Py_None
;
3115 #define wxLocale_Init1(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3116 static PyObject
*_wrap_wxLocale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3121 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3122 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
3123 bool _arg4
= (bool ) TRUE
;
3124 bool _arg5
= (bool ) FALSE
;
3125 PyObject
* _argo0
= 0;
3126 PyObject
* _obj1
= 0;
3127 PyObject
* _obj2
= 0;
3128 PyObject
* _obj3
= 0;
3129 int tempbool4
= (int) TRUE
;
3130 int tempbool5
= (int) FALSE
;
3131 char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init1",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init1. Expected _wxLocale_p.");
3144 _arg1
= wxString_in_helper(_obj1
);
3150 _arg2
= wxString_in_helper(_obj2
);
3156 _arg3
= wxString_in_helper(_obj3
);
3160 _arg4
= (bool ) tempbool4
;
3161 _arg5
= (bool ) tempbool5
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 _result
= (bool )wxLocale_Init1(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) return NULL
;
3168 } _resultobj
= Py_BuildValue("i",_result
);
3184 #define wxLocale_Init2(_swigobj,_swigarg0,_swigarg1) (_swigobj->Init(_swigarg0,_swigarg1))
3185 static PyObject
*_wrap_wxLocale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3189 int _arg1
= (int ) (wxLANGUAGE_DEFAULT
);
3190 int _arg2
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
3191 PyObject
* _argo0
= 0;
3192 char *_kwnames
[] = { "self","language","flags", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxLocale_Init2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init2. Expected _wxLocale_p.");
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 _result
= (bool )wxLocale_Init2(_arg0
,_arg1
,_arg2
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } _resultobj
= Py_BuildValue("i",_result
);
3214 static PyObject
*_wrap_wxLocale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3217 char *_kwnames
[] = { NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= (int )wxLocale::GetSystemLanguage();
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 } _resultobj
= Py_BuildValue("i",_result
);
3232 static PyObject
*_wrap_wxLocale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxFontEncoding _result
;
3235 char *_kwnames
[] = { NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 _result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } _resultobj
= Py_BuildValue("i",_result
);
3250 static PyObject
*_wrap_wxLocale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3253 char *_kwnames
[] = { NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 _result
= new wxString (wxLocale::GetSystemEncodingName());
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3266 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3268 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3277 #define wxLocale_IsOk(_swigobj) (_swigobj->IsOk())
3278 static PyObject
*_wrap_wxLocale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
* _resultobj
;
3282 PyObject
* _argo0
= 0;
3283 char *_kwnames
[] = { "self", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p.");
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 _result
= (bool )wxLocale_IsOk(_arg0
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) return NULL
;
3301 } _resultobj
= Py_BuildValue("i",_result
);
3305 #define wxLocale_GetLocale(_swigobj) (_swigobj->GetLocale())
3306 static PyObject
*_wrap_wxLocale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLocale",_kwnames
,&_argo0
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLocale. Expected _wxLocale_p.");
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 _result
= new wxString (wxLocale_GetLocale(_arg0
));
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3331 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3333 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3342 #define wxLocale_GetLanguage(_swigobj) (_swigobj->GetLanguage())
3343 static PyObject
*_wrap_wxLocale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p.");
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 _result
= (int )wxLocale_GetLanguage(_arg0
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) return NULL
;
3366 } _resultobj
= Py_BuildValue("i",_result
);
3370 #define wxLocale_GetSysName(_swigobj) (_swigobj->GetSysName())
3371 static PyObject
*_wrap_wxLocale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3375 PyObject
* _argo0
= 0;
3376 char *_kwnames
[] = { "self", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetSysName",_kwnames
,&_argo0
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetSysName. Expected _wxLocale_p.");
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 _result
= new wxString (wxLocale_GetSysName(_arg0
));
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) return NULL
;
3396 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3398 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3407 #define wxLocale_GetCanonicalName(_swigobj) (_swigobj->GetCanonicalName())
3408 static PyObject
*_wrap_wxLocale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p.");
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 _result
= new wxString (wxLocale_GetCanonicalName(_arg0
));
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3433 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3444 static PyObject
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3447 PyObject
* _obj0
= 0;
3448 char *_kwnames
[] = { "prefix", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))
3454 _arg0
= wxString_in_helper(_obj0
);
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 wxLocale::AddCatalogLookupPathPrefix(*_arg0
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } Py_INCREF(Py_None
);
3465 _resultobj
= Py_None
;
3473 #define wxLocale_AddCatalog(_swigobj,_swigarg0) (_swigobj->AddCatalog(_swigarg0))
3474 static PyObject
*_wrap_wxLocale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3479 PyObject
* _argo0
= 0;
3480 PyObject
* _obj1
= 0;
3481 char *_kwnames
[] = { "self","szDomain", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p.");
3494 _arg1
= wxString_in_helper(_obj1
);
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 _result
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } _resultobj
= Py_BuildValue("i",_result
);
3512 #define wxLocale_IsLoaded(_swigobj,_swigarg0) (_swigobj->IsLoaded(_swigarg0))
3513 static PyObject
*_wrap_wxLocale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3518 PyObject
* _argo0
= 0;
3519 PyObject
* _obj1
= 0;
3520 char *_kwnames
[] = { "self","szDomain", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p.");
3533 _arg1
= wxString_in_helper(_obj1
);
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 _result
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) return NULL
;
3543 } _resultobj
= Py_BuildValue("i",_result
);
3551 static PyObject
*_wrap_wxLocale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3553 wxLanguageInfo
* _result
;
3555 char *_kwnames
[] = { "lang", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxLocale_GetLanguageInfo",_kwnames
,&_arg0
))
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 _result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(_arg0
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3572 _resultobj
= Py_None
;
3577 static PyObject
*_wrap_wxLocale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3581 char *_kwnames
[] = { "lang", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxLocale_GetLanguageName",_kwnames
,&_arg0
))
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 _result
= new wxString (wxLocale::GetLanguageName(_arg0
));
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) return NULL
;
3594 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3596 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3605 static PyObject
*_wrap_wxLocale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3607 wxLanguageInfo
* _result
;
3609 PyObject
* _obj0
= 0;
3610 char *_kwnames
[] = { "locale", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_FindLanguageInfo",_kwnames
,&_obj0
))
3617 _arg0
= wxString_in_helper(_obj0
);
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 _result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo(*_arg0
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) return NULL
;
3628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3629 _resultobj
= Py_BuildValue("s",_ptemp
);
3632 _resultobj
= Py_None
;
3641 static PyObject
*_wrap_wxLocale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3643 wxLanguageInfo
* _arg0
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "info", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))
3651 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 wxLocale::AddLanguage(*_arg0
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3662 } Py_INCREF(Py_None
);
3663 _resultobj
= Py_None
;
3667 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetString(_swigarg0,_swigarg1))
3668 static PyObject
*_wrap_wxLocale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3673 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3674 PyObject
* _argo0
= 0;
3675 PyObject
* _obj1
= 0;
3676 PyObject
* _obj2
= 0;
3677 char *_kwnames
[] = { "self","szOrigString","szDomain", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetString. Expected _wxLocale_p.");
3690 _arg1
= wxString_in_helper(_obj1
);
3696 _arg2
= wxString_in_helper(_obj2
);
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 _result
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
));
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) return NULL
;
3708 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3710 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3727 #define wxLocale_GetName(_swigobj) (_swigobj->GetName())
3728 static PyObject
*_wrap_wxLocale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3732 PyObject
* _argo0
= 0;
3733 char *_kwnames
[] = { "self", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))
3739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetName. Expected _wxLocale_p.");
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 const wxString
& _result_ref
= wxLocale_GetName(_arg0
);
3748 _result
= (wxString
*) &_result_ref
;
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) return NULL
;
3754 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3756 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3762 static void *SwigwxEncodingConverterTowxObject(void *ptr
) {
3763 wxEncodingConverter
*src
;
3765 src
= (wxEncodingConverter
*) ptr
;
3766 dest
= (wxObject
*) src
;
3767 return (void *) dest
;
3770 #define new_wxEncodingConverter() (new wxEncodingConverter())
3771 static PyObject
*_wrap_new_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3773 wxEncodingConverter
* _result
;
3774 char *_kwnames
[] = { NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 _result
= (wxEncodingConverter
*)new_wxEncodingConverter();
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) return NULL
;
3787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p");
3788 _resultobj
= Py_BuildValue("s",_ptemp
);
3791 _resultobj
= Py_None
;
3796 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj)
3797 static PyObject
*_wrap_delete_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3799 wxEncodingConverter
* _arg0
;
3800 PyObject
* _argo0
= 0;
3801 char *_kwnames
[] = { "self", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p.");
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 delete_wxEncodingConverter(_arg0
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2))
3825 static PyObject
*_wrap_wxEncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxEncodingConverter
* _arg0
;
3829 wxFontEncoding _arg1
;
3830 wxFontEncoding _arg2
;
3831 int _arg3
= (int ) (wxCONVERT_STRICT
);
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p.");
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 _result
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) return NULL
;
3851 } _resultobj
= Py_BuildValue("i",_result
);
3855 #define wxEncodingConverter_Convert(_swigobj,_swigarg0) (_swigobj->Convert(_swigarg0))
3856 static PyObject
*_wrap_wxEncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3859 wxEncodingConverter
* _arg0
;
3861 PyObject
* _argo0
= 0;
3862 PyObject
* _obj1
= 0;
3863 char *_kwnames
[] = { "self","input", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p.");
3876 _arg1
= wxString_in_helper(_obj1
);
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 _result
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
));
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) return NULL
;
3888 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3890 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3903 static PyObject
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3905 wxFontEncodingArray
* _result
;
3906 wxFontEncoding _arg0
;
3907 int _arg1
= (int ) (wxPLATFORM_CURRENT
);
3908 char *_kwnames
[] = { "enc","platform", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 _result
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
));
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) return NULL
;
3920 _resultobj
= PyList_New(0);
3921 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3922 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3923 PyList_Append(_resultobj
, number
);
3930 static PyObject
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3932 wxFontEncodingArray
* _result
;
3933 wxFontEncoding _arg0
;
3934 char *_kwnames
[] = { "enc", NULL
};
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 _result
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
));
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) return NULL
;
3946 _resultobj
= PyList_New(0);
3947 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3948 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3949 PyList_Append(_resultobj
, number
);
3956 static PyMethodDef fontscMethods
[] = {
3957 { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3958 { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3959 { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
3960 { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
3961 { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3962 { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3963 { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
3964 { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3965 { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3966 { "wxLocale_FindLanguageInfo", (PyCFunction
) _wrap_wxLocale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxLocale_GetLanguageName", (PyCFunction
) _wrap_wxLocale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxLocale_GetLanguageInfo", (PyCFunction
) _wrap_wxLocale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
3977 { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3978 { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3979 { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3980 { "wxLocale_Init2", (PyCFunction
) _wrap_wxLocale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
3981 { "wxLocale_Init1", (PyCFunction
) _wrap_wxLocale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
3982 { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3983 { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3984 { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
3985 { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxFont_GetNoAntiAliasing", (PyCFunction
) _wrap_wxFont_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxFont_SetNoAntiAliasing", (PyCFunction
) _wrap_wxFont_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxFont_wxFontFromNativeInfoString", (PyCFunction
) _wrap_wxFont_wxFontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxFontMapper_GetEncoding", (PyCFunction
) _wrap_wxFontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxFontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_wxFontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
4044 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4045 { "wxFontMapper_Set", (PyCFunction
) _wrap_wxFontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
4046 { "wxFontMapper_Get", (PyCFunction
) _wrap_wxFontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
4047 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
4048 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
4049 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
4050 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
4051 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
4052 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
4053 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
4054 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4055 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
4056 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
4057 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4058 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
4059 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4060 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
4061 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4062 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
4063 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "wxNativeFontInfo_InitFromFont", (PyCFunction
) _wrap_wxNativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS
| METH_KEYWORDS
},
4079 * This table is used by the pointer type-checker
4081 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4082 { "_signed_long","_long",0},
4083 { "_wxPrintQuality","_wxCoord",0},
4084 { "_wxPrintQuality","_int",0},
4085 { "_wxPrintQuality","_signed_int",0},
4086 { "_wxPrintQuality","_unsigned_int",0},
4087 { "_wxPrintQuality","_wxWindowID",0},
4088 { "_wxPrintQuality","_uint",0},
4089 { "_wxPrintQuality","_EBool",0},
4090 { "_wxPrintQuality","_size_t",0},
4091 { "_wxPrintQuality","_time_t",0},
4092 { "_byte","_unsigned_char",0},
4093 { "_long","_unsigned_long",0},
4094 { "_long","_signed_long",0},
4095 { "_size_t","_wxCoord",0},
4096 { "_size_t","_wxPrintQuality",0},
4097 { "_size_t","_time_t",0},
4098 { "_size_t","_unsigned_int",0},
4099 { "_size_t","_int",0},
4100 { "_size_t","_wxWindowID",0},
4101 { "_size_t","_uint",0},
4102 { "_uint","_wxCoord",0},
4103 { "_uint","_wxPrintQuality",0},
4104 { "_uint","_time_t",0},
4105 { "_uint","_size_t",0},
4106 { "_uint","_unsigned_int",0},
4107 { "_uint","_int",0},
4108 { "_uint","_wxWindowID",0},
4109 { "_wxChar","_char",0},
4110 { "_char","_wxChar",0},
4111 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4112 { "_EBool","_wxCoord",0},
4113 { "_EBool","_wxPrintQuality",0},
4114 { "_EBool","_signed_int",0},
4115 { "_EBool","_int",0},
4116 { "_EBool","_wxWindowID",0},
4117 { "_unsigned_long","_long",0},
4118 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4119 { "_signed_int","_wxCoord",0},
4120 { "_signed_int","_wxPrintQuality",0},
4121 { "_signed_int","_EBool",0},
4122 { "_signed_int","_wxWindowID",0},
4123 { "_signed_int","_int",0},
4124 { "_WXTYPE","_short",0},
4125 { "_WXTYPE","_signed_short",0},
4126 { "_WXTYPE","_unsigned_short",0},
4127 { "_unsigned_short","_WXTYPE",0},
4128 { "_unsigned_short","_short",0},
4129 { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
},
4130 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
4131 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
4132 { "_signed_short","_WXTYPE",0},
4133 { "_signed_short","_short",0},
4134 { "_unsigned_char","_byte",0},
4135 { "_unsigned_int","_wxCoord",0},
4136 { "_unsigned_int","_wxPrintQuality",0},
4137 { "_unsigned_int","_time_t",0},
4138 { "_unsigned_int","_size_t",0},
4139 { "_unsigned_int","_uint",0},
4140 { "_unsigned_int","_wxWindowID",0},
4141 { "_unsigned_int","_int",0},
4142 { "_short","_WXTYPE",0},
4143 { "_short","_unsigned_short",0},
4144 { "_short","_signed_short",0},
4145 { "_wxWindowID","_wxCoord",0},
4146 { "_wxWindowID","_wxPrintQuality",0},
4147 { "_wxWindowID","_time_t",0},
4148 { "_wxWindowID","_size_t",0},
4149 { "_wxWindowID","_EBool",0},
4150 { "_wxWindowID","_uint",0},
4151 { "_wxWindowID","_int",0},
4152 { "_wxWindowID","_signed_int",0},
4153 { "_wxWindowID","_unsigned_int",0},
4154 { "_int","_wxCoord",0},
4155 { "_int","_wxPrintQuality",0},
4156 { "_int","_time_t",0},
4157 { "_int","_size_t",0},
4158 { "_int","_EBool",0},
4159 { "_int","_uint",0},
4160 { "_int","_wxWindowID",0},
4161 { "_int","_unsigned_int",0},
4162 { "_int","_signed_int",0},
4163 { "_time_t","_wxCoord",0},
4164 { "_time_t","_wxPrintQuality",0},
4165 { "_time_t","_unsigned_int",0},
4166 { "_time_t","_int",0},
4167 { "_time_t","_wxWindowID",0},
4168 { "_time_t","_uint",0},
4169 { "_time_t","_size_t",0},
4170 { "_wxCoord","_int",0},
4171 { "_wxCoord","_signed_int",0},
4172 { "_wxCoord","_unsigned_int",0},
4173 { "_wxCoord","_wxWindowID",0},
4174 { "_wxCoord","_uint",0},
4175 { "_wxCoord","_EBool",0},
4176 { "_wxCoord","_size_t",0},
4177 { "_wxCoord","_time_t",0},
4178 { "_wxCoord","_wxPrintQuality",0},
4181 static PyObject
*SWIG_globals
;
4185 SWIGEXPORT(void) initfontsc() {
4187 SWIG_globals
= SWIG_newvarlink();
4188 m
= Py_InitModule("fontsc", fontscMethods
);
4189 d
= PyModule_GetDict(m
);
4190 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
4191 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
4192 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
4193 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
4194 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
4195 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
4196 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
4197 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
4198 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
4199 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
4200 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
4201 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
4202 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
4203 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
4204 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
4205 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
4206 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
4207 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
4208 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
4209 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
4210 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
4211 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
4212 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
4213 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
4214 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
4215 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
4216 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
4217 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
4218 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
4219 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
4220 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
4221 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
4222 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
4223 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
4224 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
4225 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
4226 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
4227 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
4228 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
4229 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
4230 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
4231 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
4232 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
4233 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
4234 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
4235 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
4236 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
4237 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
4238 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
4239 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
4240 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
4241 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
4242 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
4243 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
4244 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
4245 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
4246 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
4247 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
4248 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
4249 PyDict_SetItemString(d
,"wxFONTENCODING_UTF16", PyInt_FromLong((long) wxFONTENCODING_UTF16
));
4250 PyDict_SetItemString(d
,"wxFONTENCODING_UTF16BE", PyInt_FromLong((long) wxFONTENCODING_UTF16BE
));
4251 PyDict_SetItemString(d
,"wxFONTENCODING_UTF16LE", PyInt_FromLong((long) wxFONTENCODING_UTF16LE
));
4252 PyDict_SetItemString(d
,"wxFONTENCODING_UTF32", PyInt_FromLong((long) wxFONTENCODING_UTF32
));
4253 PyDict_SetItemString(d
,"wxFONTENCODING_UTF32BE", PyInt_FromLong((long) wxFONTENCODING_UTF32BE
));
4254 PyDict_SetItemString(d
,"wxFONTENCODING_UTF32LE", PyInt_FromLong((long) wxFONTENCODING_UTF32LE
));
4255 PyDict_SetItemString(d
,"wxFONTENCODING_GB2312", PyInt_FromLong((long) wxFONTENCODING_GB2312
));
4256 PyDict_SetItemString(d
,"wxFONTENCODING_BIG5", PyInt_FromLong((long) wxFONTENCODING_BIG5
));
4257 PyDict_SetItemString(d
,"wxFONTENCODING_SHIFT_JIS", PyInt_FromLong((long) wxFONTENCODING_SHIFT_JIS
));
4258 PyDict_SetItemString(d
,"wxFONTENCODING_EUC_JP", PyInt_FromLong((long) wxFONTENCODING_EUC_JP
));
4259 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
4260 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
4261 PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
));
4262 PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
));
4263 PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
));
4264 PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
));
4265 PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
));
4266 PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
));
4267 PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
));
4268 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
));
4269 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
));
4270 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
));
4271 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
));
4272 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
));
4273 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
));
4274 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
));
4275 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
));
4276 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
));
4277 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
));
4278 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
));
4279 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
));
4280 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
4281 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
));
4282 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
));
4283 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
));
4284 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
));
4285 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
));
4286 PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
));
4287 PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
));
4288 PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
));
4289 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
));
4290 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
));
4291 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
));
4292 PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
));
4293 PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
));
4294 PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
));
4295 PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
));
4296 PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
));
4297 PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
));
4298 PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
));
4299 PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
));
4300 PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
));
4301 PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
));
4302 PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
));
4303 PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
));
4304 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
));
4305 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
));
4306 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
));
4307 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
));
4308 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
));
4309 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
));
4310 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
));
4311 PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
));
4312 PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
));
4313 PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
));
4314 PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
));
4315 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
));
4316 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
));
4317 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
));
4318 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
));
4319 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
));
4320 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
));
4321 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
));
4322 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
));
4323 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
));
4324 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
));
4325 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
));
4326 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
));
4327 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
));
4328 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
4329 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
));
4330 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
4331 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
));
4332 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
));
4333 PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
));
4334 PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
));
4335 PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
));
4336 PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
));
4337 PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
));
4338 PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
));
4339 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
));
4340 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
));
4341 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
));
4342 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
));
4343 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
));
4344 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
));
4345 PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
));
4346 PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
));
4347 PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
));
4348 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
));
4349 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
));
4350 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
));
4351 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
4352 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
));
4353 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
));
4354 PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
));
4355 PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
));
4356 PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
));
4357 PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
));
4358 PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
));
4359 PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
));
4360 PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
));
4361 PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
));
4362 PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
));
4363 PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
));
4364 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
));
4365 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
));
4366 PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
));
4367 PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
));
4368 PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
));
4369 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
));
4370 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
));
4371 PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
));
4372 PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
));
4373 PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
));
4374 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
));
4375 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
));
4376 PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
));
4377 PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
));
4378 PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
));
4379 PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
));
4380 PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
));
4381 PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
));
4382 PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
));
4383 PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
));
4384 PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
));
4385 PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
));
4386 PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
));
4387 PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
));
4388 PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
));
4389 PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
));
4390 PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
));
4391 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
));
4392 PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
));
4393 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
4394 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
));
4395 PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
));
4396 PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
));
4397 PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
));
4398 PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
));
4399 PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
));
4400 PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
));
4401 PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
));
4402 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
));
4403 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
));
4404 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
));
4405 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
));
4406 PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
));
4407 PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
));
4408 PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
));
4409 PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
));
4410 PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
));
4411 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
));
4412 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
4413 PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
));
4414 PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
));
4415 PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
));
4416 PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
));
4417 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
));
4418 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
));
4419 PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
));
4420 PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
));
4421 PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
));
4422 PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
));
4423 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
));
4424 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
));
4425 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
));
4426 PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
));
4427 PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
));
4428 PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
));
4429 PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
));
4430 PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
));
4431 PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
));
4432 PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
));
4433 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
));
4434 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
));
4435 PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
));
4436 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
));
4437 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
));
4438 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
));
4439 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
));
4440 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
));
4441 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
));
4442 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
4443 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
));
4444 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
));
4445 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
));
4446 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
));
4447 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
));
4448 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
));
4449 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
));
4450 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
));
4451 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
));
4452 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
));
4453 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
));
4454 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
));
4455 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
));
4456 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
));
4457 PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
));
4458 PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
));
4459 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
));
4460 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
));
4461 PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
));
4462 PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
));
4463 PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
));
4464 PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
));
4465 PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
));
4466 PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
));
4467 PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
));
4468 PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
));
4469 PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
));
4470 PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
));
4471 PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
));
4472 PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
));
4473 PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
));
4474 PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
));
4475 PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
));
4476 PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
));
4477 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
));
4478 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
));
4479 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
));
4480 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
));
4481 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
));
4482 PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
));
4483 PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
));
4484 PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
));
4485 PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
));
4486 PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
));
4487 PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
));
4488 PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
));
4489 PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
));
4490 PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
));
4491 PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
));
4492 PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
));
4493 PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
));
4494 PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
));
4495 PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
));
4496 PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
));
4497 PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
));
4498 PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
));
4499 PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
));
4500 PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
));
4501 PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
));
4502 PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
));
4503 PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
));
4504 PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
));
4505 PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
));
4506 PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
));
4508 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
4511 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4512 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);