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_GetPointSize(_swigobj) (_swigobj->GetPointSize())
256 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
259 wxNativeFontInfo
* _arg0
;
260 PyObject
* _argo0
= 0;
261 char *_kwnames
[] = { "self", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
275 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
277 wxPyEndAllowThreads(__tstate
);
278 if (PyErr_Occurred()) return NULL
;
279 } _resultobj
= Py_BuildValue("i",_result
);
283 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
284 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
287 wxNativeFontInfo
* _arg0
;
288 PyObject
* _argo0
= 0;
289 char *_kwnames
[] = { "self", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
303 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
305 wxPyEndAllowThreads(__tstate
);
306 if (PyErr_Occurred()) return NULL
;
307 } _resultobj
= Py_BuildValue("i",_result
);
311 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
312 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
314 wxFontWeight _result
;
315 wxNativeFontInfo
* _arg0
;
316 PyObject
* _argo0
= 0;
317 char *_kwnames
[] = { "self", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
331 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
333 wxPyEndAllowThreads(__tstate
);
334 if (PyErr_Occurred()) return NULL
;
335 } _resultobj
= Py_BuildValue("i",_result
);
339 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
340 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
343 wxNativeFontInfo
* _arg0
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
363 } _resultobj
= Py_BuildValue("i",_result
);
367 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
368 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxNativeFontInfo
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
387 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
389 wxPyEndAllowThreads(__tstate
);
390 if (PyErr_Occurred()) return NULL
;
393 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
395 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
404 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
405 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
407 wxFontFamily _result
;
408 wxNativeFontInfo
* _arg0
;
409 PyObject
* _argo0
= 0;
410 char *_kwnames
[] = { "self", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
424 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
426 wxPyEndAllowThreads(__tstate
);
427 if (PyErr_Occurred()) return NULL
;
428 } _resultobj
= Py_BuildValue("i",_result
);
432 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
433 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
434 PyObject
* _resultobj
;
435 wxFontEncoding _result
;
436 wxNativeFontInfo
* _arg0
;
437 PyObject
* _argo0
= 0;
438 char *_kwnames
[] = { "self", NULL
};
441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
452 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
454 wxPyEndAllowThreads(__tstate
);
455 if (PyErr_Occurred()) return NULL
;
456 } _resultobj
= Py_BuildValue("i",_result
);
460 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
461 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
463 wxNativeFontInfo
* _arg0
;
465 PyObject
* _argo0
= 0;
466 char *_kwnames
[] = { "self","pointsize", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
480 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
484 } Py_INCREF(Py_None
);
485 _resultobj
= Py_None
;
489 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
490 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
492 wxNativeFontInfo
* _arg0
;
494 PyObject
* _argo0
= 0;
495 char *_kwnames
[] = { "self","style", NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
509 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
511 wxPyEndAllowThreads(__tstate
);
512 if (PyErr_Occurred()) return NULL
;
513 } Py_INCREF(Py_None
);
514 _resultobj
= Py_None
;
518 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
519 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
521 wxNativeFontInfo
* _arg0
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self","weight", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
538 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
548 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
550 wxNativeFontInfo
* _arg0
;
552 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self","underlined", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
566 _arg1
= (bool ) tempbool1
;
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
579 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
581 wxNativeFontInfo
* _arg0
;
583 PyObject
* _argo0
= 0;
584 PyObject
* _obj1
= 0;
585 char *_kwnames
[] = { "self","facename", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
598 _arg1
= wxString_in_helper(_obj1
);
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
608 } Py_INCREF(Py_None
);
609 _resultobj
= Py_None
;
617 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
618 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
620 wxNativeFontInfo
* _arg0
;
622 PyObject
* _argo0
= 0;
623 char *_kwnames
[] = { "self","family", NULL
};
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
637 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
639 wxPyEndAllowThreads(__tstate
);
640 if (PyErr_Occurred()) return NULL
;
641 } Py_INCREF(Py_None
);
642 _resultobj
= Py_None
;
646 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
647 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
649 wxNativeFontInfo
* _arg0
;
650 wxFontEncoding _arg1
;
651 PyObject
* _argo0
= 0;
652 char *_kwnames
[] = { "self","encoding", NULL
};
655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
666 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
668 wxPyEndAllowThreads(__tstate
);
669 if (PyErr_Occurred()) return NULL
;
670 } Py_INCREF(Py_None
);
671 _resultobj
= Py_None
;
675 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
676 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
679 wxNativeFontInfo
* _arg0
;
681 PyObject
* _argo0
= 0;
682 PyObject
* _obj1
= 0;
683 char *_kwnames
[] = { "self","s", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
696 _arg1
= wxString_in_helper(_obj1
);
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } _resultobj
= Py_BuildValue("i",_result
);
714 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
715 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
716 PyObject
* _resultobj
;
718 wxNativeFontInfo
* _arg0
;
719 PyObject
* _argo0
= 0;
720 char *_kwnames
[] = { "self", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
734 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
736 wxPyEndAllowThreads(__tstate
);
737 if (PyErr_Occurred()) return NULL
;
740 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
751 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
752 return self
->ToString();
754 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
757 wxNativeFontInfo
* _arg0
;
758 PyObject
* _argo0
= 0;
759 char *_kwnames
[] = { "self", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
773 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
775 wxPyEndAllowThreads(__tstate
);
776 if (PyErr_Occurred()) return NULL
;
779 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
781 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
790 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
791 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
794 wxNativeFontInfo
* _arg0
;
796 PyObject
* _argo0
= 0;
797 PyObject
* _obj1
= 0;
798 char *_kwnames
[] = { "self","s", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
811 _arg1
= wxString_in_helper(_obj1
);
816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
817 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
819 wxPyEndAllowThreads(__tstate
);
820 if (PyErr_Occurred()) return NULL
;
821 } _resultobj
= Py_BuildValue("i",_result
);
829 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
830 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
833 wxNativeFontInfo
* _arg0
;
834 PyObject
* _argo0
= 0;
835 char *_kwnames
[] = { "self", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
851 wxPyEndAllowThreads(__tstate
);
852 if (PyErr_Occurred()) return NULL
;
855 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
857 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
866 #define new_wxFontMapper() (new wxFontMapper())
867 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
869 wxFontMapper
* _result
;
870 char *_kwnames
[] = { NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 _result
= (wxFontMapper
*)new_wxFontMapper();
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) return NULL
;
883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
884 _resultobj
= Py_BuildValue("s",_ptemp
);
887 _resultobj
= Py_None
;
892 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
893 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
895 wxFontMapper
* _arg0
;
896 PyObject
* _argo0
= 0;
897 char *_kwnames
[] = { "self", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 delete_wxFontMapper(_arg0
);
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
915 } Py_INCREF(Py_None
);
916 _resultobj
= Py_None
;
920 static PyObject
*_wrap_wxFontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
922 wxFontMapper
* _result
;
923 char *_kwnames
[] = { NULL
};
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_Get",_kwnames
))
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 _result
= (wxFontMapper
*)wxFontMapper::Get();
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) return NULL
;
936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
937 _resultobj
= Py_BuildValue("s",_ptemp
);
940 _resultobj
= Py_None
;
945 static PyObject
*_wrap_wxFontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
947 wxFontMapper
* _result
;
948 wxFontMapper
* _arg0
;
949 PyObject
* _argo0
= 0;
950 char *_kwnames
[] = { "mapper", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontMapper_Set",_kwnames
,&_argo0
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_Set. Expected _wxFontMapper_p.");
964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
965 _result
= (wxFontMapper
*)wxFontMapper::Set(_arg0
);
967 wxPyEndAllowThreads(__tstate
);
968 if (PyErr_Occurred()) return NULL
;
970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
971 _resultobj
= Py_BuildValue("s",_ptemp
);
974 _resultobj
= Py_None
;
979 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
980 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
982 wxFontEncoding _result
;
983 wxFontMapper
* _arg0
;
985 bool _arg2
= (bool ) true;
986 PyObject
* _argo0
= 0;
987 PyObject
* _obj1
= 0;
988 int tempbool2
= (int) true;
989 char *_kwnames
[] = { "self","charset","interactive", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
1002 _arg1
= wxString_in_helper(_obj1
);
1006 _arg2
= (bool ) tempbool2
;
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) return NULL
;
1013 } _resultobj
= Py_BuildValue("i",_result
);
1021 static PyObject
*_wrap_wxFontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 char *_kwnames
[] = { NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetSupportedEncodingsCount",_kwnames
))
1030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1031 _result
= (size_t )wxFontMapper::GetSupportedEncodingsCount();
1033 wxPyEndAllowThreads(__tstate
);
1034 if (PyErr_Occurred()) return NULL
;
1035 } _resultobj
= Py_BuildValue("i",_result
);
1039 static PyObject
*_wrap_wxFontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1041 wxFontEncoding _result
;
1043 char *_kwnames
[] = { "n", NULL
};
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncoding",_kwnames
,&_arg0
))
1049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1050 _result
= (wxFontEncoding
)wxFontMapper::GetEncoding(_arg0
);
1052 wxPyEndAllowThreads(__tstate
);
1053 if (PyErr_Occurred()) return NULL
;
1054 } _resultobj
= Py_BuildValue("i",_result
);
1058 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1061 wxFontEncoding _arg0
;
1062 char *_kwnames
[] = { "encoding", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1075 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1077 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1086 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 wxFontEncoding _arg0
;
1090 char *_kwnames
[] = { "encoding", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1103 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1105 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1114 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
1115 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1117 wxFontMapper
* _arg0
;
1118 wxConfigBase
* _arg1
;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _argo1
= 0;
1121 char *_kwnames
[] = { "self","config", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
1134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 wxFontMapper_SetConfig(_arg0
,_arg1
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) return NULL
;
1146 } Py_INCREF(Py_None
);
1147 _resultobj
= Py_None
;
1151 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
1152 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1154 wxFontMapper
* _arg0
;
1156 PyObject
* _argo0
= 0;
1157 PyObject
* _obj1
= 0;
1158 char *_kwnames
[] = { "self","prefix", NULL
};
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
1164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
1171 _arg1
= wxString_in_helper(_obj1
);
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) return NULL
;
1181 } Py_INCREF(Py_None
);
1182 _resultobj
= Py_None
;
1190 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1193 char *_kwnames
[] = { NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 _result
= (wxChar
*)wxFontMapper::GetDefaultConfigPath();
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1204 } _resultobj
= Py_BuildValue("s", _result
);
1208 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
1209 wxFontEncoding alt_enc
;
1210 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
1211 return PyInt_FromLong(alt_enc
);
1217 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1220 wxFontMapper
* _arg0
;
1221 wxFontEncoding _arg1
;
1222 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1223 bool _arg3
= (bool ) TRUE
;
1224 PyObject
* _argo0
= 0;
1225 PyObject
* _obj2
= 0;
1226 int tempbool3
= (int) TRUE
;
1227 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
1241 _arg2
= wxString_in_helper(_obj2
);
1245 _arg3
= (bool ) tempbool3
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1253 _resultobj
= _result
;
1262 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
1263 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1266 wxFontMapper
* _arg0
;
1267 wxFontEncoding _arg1
;
1268 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1269 PyObject
* _argo0
= 0;
1270 PyObject
* _obj2
= 0;
1271 char *_kwnames
[] = { "self","encoding","facename", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
1285 _arg2
= wxString_in_helper(_obj2
);
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) return NULL
;
1295 } _resultobj
= Py_BuildValue("i",_result
);
1303 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
1304 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxFontMapper
* _arg0
;
1308 PyObject
* _argo0
= 0;
1309 PyObject
* _argo1
= 0;
1310 char *_kwnames
[] = { "self","parent", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
1323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) return NULL
;
1335 } Py_INCREF(Py_None
);
1336 _resultobj
= Py_None
;
1340 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
1341 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1343 wxFontMapper
* _arg0
;
1345 PyObject
* _argo0
= 0;
1346 PyObject
* _obj1
= 0;
1347 char *_kwnames
[] = { "self","title", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
1360 _arg1
= wxString_in_helper(_obj1
);
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1379 static void *SwigwxFontTowxObject(void *ptr
) {
1382 src
= (wxFont
*) ptr
;
1383 dest
= (wxObject
*) src
;
1384 return (void *) dest
;
1387 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1388 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1395 int _arg4
= (int ) FALSE
;
1396 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1397 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1398 PyObject
* _obj5
= 0;
1399 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
1407 _arg5
= wxString_in_helper(_obj5
);
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1419 _resultobj
= Py_BuildValue("s",_ptemp
);
1422 _resultobj
= Py_None
;
1431 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
1432 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1435 wxNativeFontInfo
* _arg0
;
1436 PyObject
* _argo0
= 0;
1437 char *_kwnames
[] = { "info", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
1444 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
1445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1457 _resultobj
= Py_BuildValue("s",_ptemp
);
1460 _resultobj
= Py_None
;
1465 static wxFont
* wxFont_wxFontFromNativeInfoString(wxFont
*self
,const wxString
& info
) {
1466 wxNativeFontInfo nfi
;
1467 nfi
.FromString(info
);
1468 return new wxFont(nfi
);
1470 static PyObject
*_wrap_wxFont_wxFontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1475 PyObject
* _argo0
= 0;
1476 PyObject
* _obj1
= 0;
1477 char *_kwnames
[] = { "self","info", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_wxFontFromNativeInfoString",_kwnames
,&_argo0
,&_obj1
))
1484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_wxFontFromNativeInfoString. Expected _wxFont_p.");
1491 _arg1
= wxString_in_helper(_obj1
);
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 _result
= (wxFont
*)wxFont_wxFontFromNativeInfoString(_arg0
,*_arg1
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) return NULL
;
1502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1503 _resultobj
= Py_BuildValue("s",_ptemp
);
1506 _resultobj
= Py_None
;
1515 #define delete_wxFont(_swigobj) (delete _swigobj)
1516 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
1526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 delete_wxFont(_arg0
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) return NULL
;
1538 } Py_INCREF(Py_None
);
1539 _resultobj
= Py_None
;
1543 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1544 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= (bool )wxFont_Ok(_arg0
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } _resultobj
= Py_BuildValue("i",_result
);
1571 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1572 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 _result
= (int )wxFont_GetPointSize(_arg0
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } _resultobj
= Py_BuildValue("i",_result
);
1599 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1600 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "self", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 _result
= (int )wxFont_GetFamily(_arg0
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } _resultobj
= Py_BuildValue("i",_result
);
1627 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1628 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (int )wxFont_GetStyle(_arg0
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1656 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
* _resultobj
;
1660 PyObject
* _argo0
= 0;
1661 char *_kwnames
[] = { "self", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxFont_GetWeight(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1684 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) return NULL
;
1707 } _resultobj
= Py_BuildValue("i",_result
);
1711 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1712 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) return NULL
;
1737 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1748 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
1749 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
* _resultobj
;
1751 wxFontEncoding _result
;
1753 PyObject
* _argo0
= 0;
1754 char *_kwnames
[] = { "self", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
1760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) return NULL
;
1772 } _resultobj
= Py_BuildValue("i",_result
);
1776 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
1777 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1781 PyObject
* _argo0
= 0;
1782 char *_kwnames
[] = { "self", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) return NULL
;
1800 } _resultobj
= Py_BuildValue("i",_result
);
1804 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
1805 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1807 wxNativeFontInfo
* _result
;
1809 PyObject
* _argo0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
1831 _resultobj
= Py_BuildValue("s",_ptemp
);
1834 _resultobj
= Py_None
;
1839 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
1840 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1865 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1867 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1876 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
1877 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1902 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1904 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1913 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1914 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1918 PyObject
* _argo0
= 0;
1919 char *_kwnames
[] = { "self","pointSize", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 wxFont_SetPointSize(_arg0
,_arg1
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) return NULL
;
1937 } Py_INCREF(Py_None
);
1938 _resultobj
= Py_None
;
1942 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1943 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self","family", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 wxFont_SetFamily(_arg0
,_arg1
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) return NULL
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1971 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1972 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1976 PyObject
* _argo0
= 0;
1977 char *_kwnames
[] = { "self","style", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxFont_SetStyle(_arg0
,_arg1
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1995 } Py_INCREF(Py_None
);
1996 _resultobj
= Py_None
;
2000 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
2001 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self","weight", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 wxFont_SetWeight(_arg0
,_arg1
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) return NULL
;
2024 } Py_INCREF(Py_None
);
2025 _resultobj
= Py_None
;
2029 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2030 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2034 PyObject
* _argo0
= 0;
2035 PyObject
* _obj1
= 0;
2036 char *_kwnames
[] = { "self","faceName", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2049 _arg1
= wxString_in_helper(_obj1
);
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 wxFont_SetFaceName(_arg0
,*_arg1
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) return NULL
;
2059 } Py_INCREF(Py_None
);
2060 _resultobj
= Py_None
;
2068 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2069 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2073 PyObject
* _argo0
= 0;
2075 char *_kwnames
[] = { "self","underlined", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2087 _arg1
= (bool ) tempbool1
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 wxFont_SetUnderlined(_arg0
,_arg1
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) return NULL
;
2094 } Py_INCREF(Py_None
);
2095 _resultobj
= Py_None
;
2099 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2100 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 wxFontEncoding _arg1
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self","encoding", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 wxFont_SetEncoding(_arg0
,_arg1
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
2129 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2132 wxNativeFontInfo
* _arg1
;
2133 PyObject
* _argo0
= 0;
2134 PyObject
* _argo1
= 0;
2135 char *_kwnames
[] = { "self","info", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
2148 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2159 } Py_INCREF(Py_None
);
2160 _resultobj
= Py_None
;
2164 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
2165 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2169 PyObject
* _argo0
= 0;
2170 PyObject
* _obj1
= 0;
2171 char *_kwnames
[] = { "self","info", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
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_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
2184 _arg1
= wxString_in_helper(_obj1
);
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } Py_INCREF(Py_None
);
2195 _resultobj
= Py_None
;
2203 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2204 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2229 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2240 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2241 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2245 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) return NULL
;
2266 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2268 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2277 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2278 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) return NULL
;
2303 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2305 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2314 #define wxFont_SetNoAntiAliasing(_swigobj,_swigarg0) (_swigobj->SetNoAntiAliasing(_swigarg0))
2315 static PyObject
*_wrap_wxFont_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2318 bool _arg1
= (bool ) TRUE
;
2319 PyObject
* _argo0
= 0;
2320 int tempbool1
= (int) TRUE
;
2321 char *_kwnames
[] = { "self","no", NULL
};
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFont_SetNoAntiAliasing",_kwnames
,&_argo0
,&tempbool1
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNoAntiAliasing. Expected _wxFont_p.");
2333 _arg1
= (bool ) tempbool1
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 wxFont_SetNoAntiAliasing(_arg0
,_arg1
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2345 #define wxFont_GetNoAntiAliasing(_swigobj) (_swigobj->GetNoAntiAliasing())
2346 static PyObject
*_wrap_wxFont_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2350 PyObject
* _argo0
= 0;
2351 char *_kwnames
[] = { "self", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNoAntiAliasing",_kwnames
,&_argo0
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNoAntiAliasing. Expected _wxFont_p.");
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 _result
= (bool )wxFont_GetNoAntiAliasing(_arg0
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) return NULL
;
2369 } _resultobj
= Py_BuildValue("i",_result
);
2373 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2375 wxFontEncoding _result
;
2376 char *_kwnames
[] = { NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) return NULL
;
2387 } _resultobj
= Py_BuildValue("i",_result
);
2391 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxFontEncoding _arg0
;
2394 char *_kwnames
[] = { "encoding", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 wxFont::SetDefaultEncoding(_arg0
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) return NULL
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 static void *SwigwxFontListTowxObject(void *ptr
) {
2413 src
= (wxFontList
*) ptr
;
2414 dest
= (wxObject
*) src
;
2415 return (void *) dest
;
2418 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
2419 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
* _resultobj
;
2423 PyObject
* _argo0
= 0;
2424 PyObject
* _argo1
= 0;
2425 char *_kwnames
[] = { "self","font", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
2438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 wxFontList_AddFont(_arg0
,_arg1
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) return NULL
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2456 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2464 bool _arg5
= (bool ) FALSE
;
2465 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
2466 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2467 PyObject
* _argo0
= 0;
2468 int tempbool5
= (int) FALSE
;
2469 PyObject
* _obj6
= 0;
2470 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
2483 _arg5
= (bool ) tempbool5
;
2486 _arg6
= wxString_in_helper(_obj6
);
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) return NULL
;
2497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2498 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 _resultobj
= Py_None
;
2510 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
2511 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2515 PyObject
* _argo0
= 0;
2516 PyObject
* _argo1
= 0;
2517 char *_kwnames
[] = { "self","font", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
2530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 wxFontList_RemoveFont(_arg0
,_arg1
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) return NULL
;
2542 } Py_INCREF(Py_None
);
2543 _resultobj
= Py_None
;
2547 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
2548 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2552 PyObject
* _argo0
= 0;
2553 char *_kwnames
[] = { "self", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
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_GetCount. Expected _wxFontList_p.");
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 _result
= (int )wxFontList_GetCount(_arg0
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) return NULL
;
2571 } _resultobj
= Py_BuildValue("i",_result
);
2575 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2576 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2578 wxPyFontEnumerator
* _result
;
2579 char *_kwnames
[] = { NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) return NULL
;
2592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2593 _resultobj
= Py_BuildValue("s",_ptemp
);
2596 _resultobj
= Py_None
;
2601 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2602 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2604 wxPyFontEnumerator
* _arg0
;
2605 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 delete_wxPyFontEnumerator(_arg0
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) return NULL
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2629 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2630 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2632 wxPyFontEnumerator
* _arg0
;
2636 PyObject
* _argo0
= 0;
2637 PyObject
* _obj1
= 0;
2638 PyObject
* _obj2
= 0;
2640 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2658 _arg3
= (bool ) tempbool3
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) return NULL
;
2665 } Py_INCREF(Py_None
);
2666 _resultobj
= Py_None
;
2670 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2671 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 wxPyFontEnumerator
* _arg0
;
2675 wxFontEncoding _arg1
= (wxFontEncoding
) (wxFONTENCODING_SYSTEM
);
2676 bool _arg2
= (bool ) FALSE
;
2677 PyObject
* _argo0
= 0;
2678 int tempbool2
= (int) FALSE
;
2679 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2691 _arg2
= (bool ) tempbool2
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) return NULL
;
2698 } _resultobj
= Py_BuildValue("i",_result
);
2702 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2703 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2706 wxPyFontEnumerator
* _arg0
;
2707 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
2708 PyObject
* _argo0
= 0;
2709 PyObject
* _obj1
= 0;
2710 char *_kwnames
[] = { "self","facename", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2724 _arg1
= wxString_in_helper(_obj1
);
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) return NULL
;
2734 } _resultobj
= Py_BuildValue("i",_result
);
2742 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2743 wxArrayString
* arr
= self
->GetEncodings();
2744 return wxArrayString2PyList_helper(*arr
);
2746 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2749 wxPyFontEnumerator
* _arg0
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) return NULL
;
2770 _resultobj
= _result
;
2775 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2776 wxArrayString
* arr
= self
->GetFacenames();
2777 return wxArrayString2PyList_helper(*arr
);
2779 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2782 wxPyFontEnumerator
* _arg0
;
2783 PyObject
* _argo0
= 0;
2784 char *_kwnames
[] = { "self", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) return NULL
;
2803 _resultobj
= _result
;
2808 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval)
2809 static PyObject
*_wrap_wxLanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
* _resultobj
;
2812 wxLanguageInfo
* _arg0
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self","Language", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 _result
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } _resultobj
= Py_BuildValue("i",_result
);
2837 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language)
2838 static PyObject
*_wrap_wxLanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2841 wxLanguageInfo
* _arg0
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_get. Expected _wxLanguageInfo_p.");
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 _result
= (int )wxLanguageInfo_Language_get(_arg0
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) return NULL
;
2861 } _resultobj
= Py_BuildValue("i",_result
);
2865 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval)
2866 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2869 wxLanguageInfo
* _arg0
;
2871 PyObject
* _argo0
= 0;
2872 PyObject
* _obj1
= 0;
2873 char *_kwnames
[] = { "self","CanonicalName", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_set. Expected _wxLanguageInfo_p.");
2886 _arg1
= wxString_in_helper(_obj1
);
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 _result
= (wxString
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) return NULL
;
2898 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2900 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2910 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName)
2911 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2914 wxLanguageInfo
* _arg0
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p.");
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (wxString
*)wxLanguageInfo_CanonicalName_get(_arg0
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2936 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2938 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2944 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval)
2945 static PyObject
*_wrap_wxLanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2948 wxLanguageInfo
* _arg0
;
2950 PyObject
* _argo0
= 0;
2951 PyObject
* _obj1
= 0;
2952 char *_kwnames
[] = { "self","Description", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))
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_Description_set. Expected _wxLanguageInfo_p.");
2965 _arg1
= wxString_in_helper(_obj1
);
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 _result
= (wxString
*)wxLanguageInfo_Description_set(_arg0
,_arg1
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) return NULL
;
2977 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2979 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2989 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description)
2990 static PyObject
*_wrap_wxLanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxLanguageInfo
* _arg0
;
2994 PyObject
* _argo0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))
3001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p.");
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 _result
= (wxString
*)wxLanguageInfo_Description_get(_arg0
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) return NULL
;
3015 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3017 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3023 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1))
3024 static PyObject
*_wrap_new_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3027 int _arg0
= (int ) (wxLANGUAGE_DEFAULT
);
3028 int _arg1
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
3029 char *_kwnames
[] = { "language","flags", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 _result
= (wxLocale
*)new_wxLocale(_arg0
,_arg1
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
3043 _resultobj
= Py_BuildValue("s",_ptemp
);
3046 _resultobj
= Py_None
;
3051 #define delete_wxLocale(_swigobj) (delete _swigobj)
3052 static PyObject
*_wrap_delete_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLocale. Expected _wxLocale_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 delete_wxLocale(_arg0
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxLocale_Init1(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3080 static PyObject
*_wrap_wxLocale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3085 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3086 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
3087 bool _arg4
= (bool ) TRUE
;
3088 bool _arg5
= (bool ) FALSE
;
3089 PyObject
* _argo0
= 0;
3090 PyObject
* _obj1
= 0;
3091 PyObject
* _obj2
= 0;
3092 PyObject
* _obj3
= 0;
3093 int tempbool4
= (int) TRUE
;
3094 int tempbool5
= (int) FALSE
;
3095 char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init1",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init1. Expected _wxLocale_p.");
3108 _arg1
= wxString_in_helper(_obj1
);
3114 _arg2
= wxString_in_helper(_obj2
);
3120 _arg3
= wxString_in_helper(_obj3
);
3124 _arg4
= (bool ) tempbool4
;
3125 _arg5
= (bool ) tempbool5
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 _result
= (bool )wxLocale_Init1(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } _resultobj
= Py_BuildValue("i",_result
);
3148 #define wxLocale_Init2(_swigobj,_swigarg0,_swigarg1) (_swigobj->Init(_swigarg0,_swigarg1))
3149 static PyObject
*_wrap_wxLocale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3153 int _arg1
= (int ) (wxLANGUAGE_DEFAULT
);
3154 int _arg2
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self","language","flags", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxLocale_Init2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init2. Expected _wxLocale_p.");
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 _result
= (bool )wxLocale_Init2(_arg0
,_arg1
,_arg2
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) return NULL
;
3174 } _resultobj
= Py_BuildValue("i",_result
);
3178 static PyObject
*_wrap_wxLocale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3181 char *_kwnames
[] = { NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 _result
= (int )wxLocale::GetSystemLanguage();
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3192 } _resultobj
= Py_BuildValue("i",_result
);
3196 static PyObject
*_wrap_wxLocale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxFontEncoding _result
;
3199 char *_kwnames
[] = { NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 _result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } _resultobj
= Py_BuildValue("i",_result
);
3214 static PyObject
*_wrap_wxLocale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3217 char *_kwnames
[] = { NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 _result
= new wxString (wxLocale::GetSystemEncodingName());
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3230 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3232 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3241 #define wxLocale_IsOk(_swigobj) (_swigobj->IsOk())
3242 static PyObject
*_wrap_wxLocale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3246 PyObject
* _argo0
= 0;
3247 char *_kwnames
[] = { "self", NULL
};
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p.");
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 _result
= (bool )wxLocale_IsOk(_arg0
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) return NULL
;
3265 } _resultobj
= Py_BuildValue("i",_result
);
3269 #define wxLocale_GetLocale(_swigobj) (_swigobj->GetLocale())
3270 static PyObject
*_wrap_wxLocale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLocale",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLocale. Expected _wxLocale_p.");
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 _result
= new wxString (wxLocale_GetLocale(_arg0
));
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3295 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3297 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3306 #define wxLocale_GetLanguage(_swigobj) (_swigobj->GetLanguage())
3307 static PyObject
*_wrap_wxLocale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 _result
= (int )wxLocale_GetLanguage(_arg0
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3330 } _resultobj
= Py_BuildValue("i",_result
);
3334 #define wxLocale_GetSysName(_swigobj) (_swigobj->GetSysName())
3335 static PyObject
*_wrap_wxLocale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetSysName",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetSysName. Expected _wxLocale_p.");
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 _result
= new wxString (wxLocale_GetSysName(_arg0
));
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3360 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3362 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3371 #define wxLocale_GetCanonicalName(_swigobj) (_swigobj->GetCanonicalName())
3372 static PyObject
*_wrap_wxLocale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
* _resultobj
;
3376 PyObject
* _argo0
= 0;
3377 char *_kwnames
[] = { "self", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p.");
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 _result
= new wxString (wxLocale_GetCanonicalName(_arg0
));
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) return NULL
;
3397 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3399 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3408 static PyObject
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3411 PyObject
* _obj0
= 0;
3412 char *_kwnames
[] = { "prefix", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))
3418 _arg0
= wxString_in_helper(_obj0
);
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 wxLocale::AddCatalogLookupPathPrefix(*_arg0
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3437 #define wxLocale_AddCatalog(_swigobj,_swigarg0) (_swigobj->AddCatalog(_swigarg0))
3438 static PyObject
*_wrap_wxLocale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3443 PyObject
* _argo0
= 0;
3444 PyObject
* _obj1
= 0;
3445 char *_kwnames
[] = { "self","szDomain", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))
3451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p.");
3458 _arg1
= wxString_in_helper(_obj1
);
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 _result
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } _resultobj
= Py_BuildValue("i",_result
);
3476 #define wxLocale_IsLoaded(_swigobj,_swigarg0) (_swigobj->IsLoaded(_swigarg0))
3477 static PyObject
*_wrap_wxLocale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3482 PyObject
* _argo0
= 0;
3483 PyObject
* _obj1
= 0;
3484 char *_kwnames
[] = { "self","szDomain", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p.");
3497 _arg1
= wxString_in_helper(_obj1
);
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3515 static PyObject
*_wrap_wxLocale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3517 wxLanguageInfo
* _result
;
3519 char *_kwnames
[] = { "lang", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxLocale_GetLanguageInfo",_kwnames
,&_arg0
))
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(_arg0
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3533 _resultobj
= Py_BuildValue("s",_ptemp
);
3536 _resultobj
= Py_None
;
3541 static PyObject
*_wrap_wxLocale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3545 char *_kwnames
[] = { "lang", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxLocale_GetLanguageName",_kwnames
,&_arg0
))
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 _result
= new wxString (wxLocale::GetLanguageName(_arg0
));
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3558 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3560 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3569 static PyObject
*_wrap_wxLocale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxLanguageInfo
* _result
;
3573 PyObject
* _obj0
= 0;
3574 char *_kwnames
[] = { "locale", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_FindLanguageInfo",_kwnames
,&_obj0
))
3581 _arg0
= wxString_in_helper(_obj0
);
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 _result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo(*_arg0
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3593 _resultobj
= Py_BuildValue("s",_ptemp
);
3596 _resultobj
= Py_None
;
3605 static PyObject
*_wrap_wxLocale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3607 wxLanguageInfo
* _arg0
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "info", NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))
3615 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p.");
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 wxLocale::AddLanguage(*_arg0
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) return NULL
;
3626 } Py_INCREF(Py_None
);
3627 _resultobj
= Py_None
;
3631 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetString(_swigarg0,_swigarg1))
3632 static PyObject
*_wrap_wxLocale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3637 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3638 PyObject
* _argo0
= 0;
3639 PyObject
* _obj1
= 0;
3640 PyObject
* _obj2
= 0;
3641 char *_kwnames
[] = { "self","szOrigString","szDomain", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetString. Expected _wxLocale_p.");
3654 _arg1
= wxString_in_helper(_obj1
);
3660 _arg2
= wxString_in_helper(_obj2
);
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 _result
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
));
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) return NULL
;
3672 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3674 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3691 #define wxLocale_GetName(_swigobj) (_swigobj->GetName())
3692 static PyObject
*_wrap_wxLocale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetName. Expected _wxLocale_p.");
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 const wxString
& _result_ref
= wxLocale_GetName(_arg0
);
3712 _result
= (wxString
*) &_result_ref
;
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3718 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3720 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3726 static void *SwigwxEncodingConverterTowxObject(void *ptr
) {
3727 wxEncodingConverter
*src
;
3729 src
= (wxEncodingConverter
*) ptr
;
3730 dest
= (wxObject
*) src
;
3731 return (void *) dest
;
3734 #define new_wxEncodingConverter() (new wxEncodingConverter())
3735 static PyObject
*_wrap_new_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3737 wxEncodingConverter
* _result
;
3738 char *_kwnames
[] = { NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 _result
= (wxEncodingConverter
*)new_wxEncodingConverter();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) return NULL
;
3751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p");
3752 _resultobj
= Py_BuildValue("s",_ptemp
);
3755 _resultobj
= Py_None
;
3760 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj)
3761 static PyObject
*_wrap_delete_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3763 wxEncodingConverter
* _arg0
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 delete_wxEncodingConverter(_arg0
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2))
3789 static PyObject
*_wrap_wxEncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3792 wxEncodingConverter
* _arg0
;
3793 wxFontEncoding _arg1
;
3794 wxFontEncoding _arg2
;
3795 int _arg3
= (int ) (wxCONVERT_STRICT
);
3796 PyObject
* _argo0
= 0;
3797 char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p.");
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 _result
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
);
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) return NULL
;
3815 } _resultobj
= Py_BuildValue("i",_result
);
3819 #define wxEncodingConverter_Convert(_swigobj,_swigarg0) (_swigobj->Convert(_swigarg0))
3820 static PyObject
*_wrap_wxEncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
* _resultobj
;
3823 wxEncodingConverter
* _arg0
;
3825 PyObject
* _argo0
= 0;
3826 PyObject
* _obj1
= 0;
3827 char *_kwnames
[] = { "self","input", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p.");
3840 _arg1
= wxString_in_helper(_obj1
);
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 _result
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
));
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) return NULL
;
3852 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3854 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3867 static PyObject
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxFontEncodingArray
* _result
;
3870 wxFontEncoding _arg0
;
3871 int _arg1
= (int ) (wxPLATFORM_CURRENT
);
3872 char *_kwnames
[] = { "enc","platform", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
));
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3884 _resultobj
= PyList_New(0);
3885 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3886 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3887 PyList_Append(_resultobj
, number
);
3894 static PyObject
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3896 wxFontEncodingArray
* _result
;
3897 wxFontEncoding _arg0
;
3898 char *_kwnames
[] = { "enc", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 _result
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
));
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) return NULL
;
3910 _resultobj
= PyList_New(0);
3911 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3912 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3913 PyList_Append(_resultobj
, number
);
3920 static PyMethodDef fontscMethods
[] = {
3921 { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3922 { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3923 { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
3924 { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
3925 { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3926 { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3927 { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
3928 { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3929 { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3930 { "wxLocale_FindLanguageInfo", (PyCFunction
) _wrap_wxLocale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3931 { "wxLocale_GetLanguageName", (PyCFunction
) _wrap_wxLocale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
3932 { "wxLocale_GetLanguageInfo", (PyCFunction
) _wrap_wxLocale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3933 { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
3934 { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
3935 { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
3936 { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
3937 { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
3938 { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3939 { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3940 { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
3941 { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3942 { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3943 { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3944 { "wxLocale_Init2", (PyCFunction
) _wrap_wxLocale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
3945 { "wxLocale_Init1", (PyCFunction
) _wrap_wxLocale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
3946 { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3947 { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3948 { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
3949 { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
3950 { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
3951 { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
3952 { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
3953 { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
3954 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3955 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3956 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3957 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3958 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3959 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3960 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3961 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
3962 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
3963 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
3964 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
3965 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3966 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxFont_GetNoAntiAliasing", (PyCFunction
) _wrap_wxFont_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxFont_SetNoAntiAliasing", (PyCFunction
) _wrap_wxFont_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3977 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3978 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3979 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3980 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3981 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3982 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
3983 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3984 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
3985 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxFont_wxFontFromNativeInfoString", (PyCFunction
) _wrap_wxFont_wxFontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxFontMapper_GetEncoding", (PyCFunction
) _wrap_wxFontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxFontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_wxFontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "wxFontMapper_Set", (PyCFunction
) _wrap_wxFontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxFontMapper_Get", (PyCFunction
) _wrap_wxFontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS
| METH_KEYWORDS
},
4042 * This table is used by the pointer type-checker
4044 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4045 { "_signed_long","_long",0},
4046 { "_wxPrintQuality","_wxCoord",0},
4047 { "_wxPrintQuality","_int",0},
4048 { "_wxPrintQuality","_signed_int",0},
4049 { "_wxPrintQuality","_unsigned_int",0},
4050 { "_wxPrintQuality","_wxWindowID",0},
4051 { "_wxPrintQuality","_uint",0},
4052 { "_wxPrintQuality","_EBool",0},
4053 { "_wxPrintQuality","_size_t",0},
4054 { "_wxPrintQuality","_time_t",0},
4055 { "_byte","_unsigned_char",0},
4056 { "_long","_unsigned_long",0},
4057 { "_long","_signed_long",0},
4058 { "_size_t","_wxCoord",0},
4059 { "_size_t","_wxPrintQuality",0},
4060 { "_size_t","_time_t",0},
4061 { "_size_t","_unsigned_int",0},
4062 { "_size_t","_int",0},
4063 { "_size_t","_wxWindowID",0},
4064 { "_size_t","_uint",0},
4065 { "_uint","_wxCoord",0},
4066 { "_uint","_wxPrintQuality",0},
4067 { "_uint","_time_t",0},
4068 { "_uint","_size_t",0},
4069 { "_uint","_unsigned_int",0},
4070 { "_uint","_int",0},
4071 { "_uint","_wxWindowID",0},
4072 { "_wxChar","_char",0},
4073 { "_char","_wxChar",0},
4074 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4075 { "_EBool","_wxCoord",0},
4076 { "_EBool","_wxPrintQuality",0},
4077 { "_EBool","_signed_int",0},
4078 { "_EBool","_int",0},
4079 { "_EBool","_wxWindowID",0},
4080 { "_unsigned_long","_long",0},
4081 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4082 { "_signed_int","_wxCoord",0},
4083 { "_signed_int","_wxPrintQuality",0},
4084 { "_signed_int","_EBool",0},
4085 { "_signed_int","_wxWindowID",0},
4086 { "_signed_int","_int",0},
4087 { "_WXTYPE","_short",0},
4088 { "_WXTYPE","_signed_short",0},
4089 { "_WXTYPE","_unsigned_short",0},
4090 { "_unsigned_short","_WXTYPE",0},
4091 { "_unsigned_short","_short",0},
4092 { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
},
4093 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
4094 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
4095 { "_signed_short","_WXTYPE",0},
4096 { "_signed_short","_short",0},
4097 { "_unsigned_char","_byte",0},
4098 { "_unsigned_int","_wxCoord",0},
4099 { "_unsigned_int","_wxPrintQuality",0},
4100 { "_unsigned_int","_time_t",0},
4101 { "_unsigned_int","_size_t",0},
4102 { "_unsigned_int","_uint",0},
4103 { "_unsigned_int","_wxWindowID",0},
4104 { "_unsigned_int","_int",0},
4105 { "_short","_WXTYPE",0},
4106 { "_short","_unsigned_short",0},
4107 { "_short","_signed_short",0},
4108 { "_wxWindowID","_wxCoord",0},
4109 { "_wxWindowID","_wxPrintQuality",0},
4110 { "_wxWindowID","_time_t",0},
4111 { "_wxWindowID","_size_t",0},
4112 { "_wxWindowID","_EBool",0},
4113 { "_wxWindowID","_uint",0},
4114 { "_wxWindowID","_int",0},
4115 { "_wxWindowID","_signed_int",0},
4116 { "_wxWindowID","_unsigned_int",0},
4117 { "_int","_wxCoord",0},
4118 { "_int","_wxPrintQuality",0},
4119 { "_int","_time_t",0},
4120 { "_int","_size_t",0},
4121 { "_int","_EBool",0},
4122 { "_int","_uint",0},
4123 { "_int","_wxWindowID",0},
4124 { "_int","_unsigned_int",0},
4125 { "_int","_signed_int",0},
4126 { "_time_t","_wxCoord",0},
4127 { "_time_t","_wxPrintQuality",0},
4128 { "_time_t","_unsigned_int",0},
4129 { "_time_t","_int",0},
4130 { "_time_t","_wxWindowID",0},
4131 { "_time_t","_uint",0},
4132 { "_time_t","_size_t",0},
4133 { "_wxCoord","_int",0},
4134 { "_wxCoord","_signed_int",0},
4135 { "_wxCoord","_unsigned_int",0},
4136 { "_wxCoord","_wxWindowID",0},
4137 { "_wxCoord","_uint",0},
4138 { "_wxCoord","_EBool",0},
4139 { "_wxCoord","_size_t",0},
4140 { "_wxCoord","_time_t",0},
4141 { "_wxCoord","_wxPrintQuality",0},
4144 static PyObject
*SWIG_globals
;
4148 SWIGEXPORT(void) initfontsc() {
4150 SWIG_globals
= SWIG_newvarlink();
4151 m
= Py_InitModule("fontsc", fontscMethods
);
4152 d
= PyModule_GetDict(m
);
4153 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
4154 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
4155 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
4156 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
4157 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
4158 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
4159 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
4160 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
4161 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
4162 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
4163 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
4164 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
4165 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
4166 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
4167 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
4168 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
4169 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
4170 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
4171 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
4172 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
4173 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
4174 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
4175 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
4176 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
4177 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
4178 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
4179 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
4180 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
4181 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
4182 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
4183 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
4184 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
4185 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
4186 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
4187 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
4188 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
4189 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
4190 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
4191 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
4192 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
4193 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
4194 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
4195 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
4196 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
4197 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
4198 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
4199 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
4200 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
4201 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
4202 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
4203 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
4204 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
4205 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
4206 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
4207 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
4208 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
4209 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
4210 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
4211 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
4212 PyDict_SetItemString(d
,"wxFONTENCODING_GB2312", PyInt_FromLong((long) wxFONTENCODING_GB2312
));
4213 PyDict_SetItemString(d
,"wxFONTENCODING_BIG5", PyInt_FromLong((long) wxFONTENCODING_BIG5
));
4214 PyDict_SetItemString(d
,"wxFONTENCODING_SHIFT_JIS", PyInt_FromLong((long) wxFONTENCODING_SHIFT_JIS
));
4215 PyDict_SetItemString(d
,"wxFONTENCODING_EUC_JP", PyInt_FromLong((long) wxFONTENCODING_EUC_JP
));
4216 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
4217 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
4218 PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
));
4219 PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
));
4220 PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
));
4221 PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
));
4222 PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
));
4223 PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
));
4224 PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
));
4225 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
));
4226 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
));
4227 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
));
4228 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
));
4229 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
));
4230 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
));
4231 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
));
4232 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
));
4233 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
));
4234 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
));
4235 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
));
4236 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
));
4237 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
4238 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
));
4239 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
));
4240 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
));
4241 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
));
4242 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
));
4243 PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
));
4244 PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
));
4245 PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
));
4246 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
));
4247 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
));
4248 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
));
4249 PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
));
4250 PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
));
4251 PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
));
4252 PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
));
4253 PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
));
4254 PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
));
4255 PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
));
4256 PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
));
4257 PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
));
4258 PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
));
4259 PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
));
4260 PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
));
4261 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
));
4262 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
));
4263 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
));
4264 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
));
4265 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
));
4266 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
));
4267 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
));
4268 PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
));
4269 PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
));
4270 PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
));
4271 PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
));
4272 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
));
4273 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
));
4274 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
));
4275 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
));
4276 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
));
4277 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
));
4278 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
));
4279 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
));
4280 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
));
4281 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
));
4282 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
));
4283 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
));
4284 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
));
4285 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
4286 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
));
4287 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
4288 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
));
4289 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
));
4290 PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
));
4291 PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
));
4292 PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
));
4293 PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
));
4294 PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
));
4295 PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
));
4296 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
));
4297 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
));
4298 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
));
4299 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
));
4300 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
));
4301 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
));
4302 PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
));
4303 PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
));
4304 PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
));
4305 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
));
4306 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
));
4307 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
));
4308 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
4309 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
));
4310 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
));
4311 PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
));
4312 PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
));
4313 PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
));
4314 PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
));
4315 PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
));
4316 PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
));
4317 PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
));
4318 PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
));
4319 PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
));
4320 PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
));
4321 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
));
4322 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
));
4323 PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
));
4324 PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
));
4325 PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
));
4326 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
));
4327 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
));
4328 PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
));
4329 PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
));
4330 PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
));
4331 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
));
4332 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
));
4333 PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
));
4334 PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
));
4335 PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
));
4336 PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
));
4337 PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
));
4338 PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
));
4339 PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
));
4340 PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
));
4341 PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
));
4342 PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
));
4343 PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
));
4344 PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
));
4345 PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
));
4346 PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
));
4347 PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
));
4348 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
));
4349 PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
));
4350 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
4351 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
));
4352 PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
));
4353 PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
));
4354 PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
));
4355 PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
));
4356 PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
));
4357 PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
));
4358 PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
));
4359 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
));
4360 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
));
4361 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
));
4362 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
));
4363 PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
));
4364 PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
));
4365 PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
));
4366 PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
));
4367 PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
));
4368 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
));
4369 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
4370 PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
));
4371 PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
));
4372 PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
));
4373 PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
));
4374 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
));
4375 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
));
4376 PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
));
4377 PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
));
4378 PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
));
4379 PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
));
4380 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
));
4381 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
));
4382 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
));
4383 PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
));
4384 PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
));
4385 PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
));
4386 PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
));
4387 PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
));
4388 PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
));
4389 PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
));
4390 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
));
4391 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
));
4392 PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
));
4393 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
));
4394 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
));
4395 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
));
4396 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
));
4397 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
));
4398 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
));
4399 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
4400 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
));
4401 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
));
4402 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
));
4403 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
));
4404 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
));
4405 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
));
4406 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
));
4407 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
));
4408 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
));
4409 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
));
4410 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
));
4411 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
));
4412 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
));
4413 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
));
4414 PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
));
4415 PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
));
4416 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
));
4417 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
));
4418 PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
));
4419 PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
));
4420 PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
));
4421 PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
));
4422 PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
));
4423 PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
));
4424 PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
));
4425 PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
));
4426 PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
));
4427 PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
));
4428 PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
));
4429 PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
));
4430 PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
));
4431 PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
));
4432 PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
));
4433 PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
));
4434 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
));
4435 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
));
4436 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
));
4437 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
));
4438 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
));
4439 PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
));
4440 PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
));
4441 PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
));
4442 PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
));
4443 PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
));
4444 PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
));
4445 PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
));
4446 PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
));
4447 PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
));
4448 PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
));
4449 PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
));
4450 PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
));
4451 PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
));
4452 PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
));
4453 PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
));
4454 PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
));
4455 PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
));
4456 PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
));
4457 PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
));
4458 PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
));
4459 PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
));
4460 PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
));
4461 PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
));
4462 PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
));
4463 PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
));
4465 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
4468 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4469 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);