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 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
980 wxFontEncoding alt_enc
;
981 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
982 return PyInt_FromLong(alt_enc
);
988 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 wxFontMapper
* _arg0
;
992 wxFontEncoding _arg1
;
993 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
994 bool _arg3
= (bool ) TRUE
;
995 PyObject
* _argo0
= 0;
996 PyObject
* _obj2
= 0;
997 int tempbool3
= (int) TRUE
;
998 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
1012 _arg2
= wxString_in_helper(_obj2
);
1016 _arg3
= (bool ) tempbool3
;
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1024 _resultobj
= _result
;
1033 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
1034 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1037 wxFontMapper
* _arg0
;
1038 wxFontEncoding _arg1
;
1039 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1040 PyObject
* _argo0
= 0;
1041 PyObject
* _obj2
= 0;
1042 char *_kwnames
[] = { "self","encoding","facename", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
1056 _arg2
= wxString_in_helper(_obj2
);
1061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1062 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
1064 wxPyEndAllowThreads(__tstate
);
1065 if (PyErr_Occurred()) return NULL
;
1066 } _resultobj
= Py_BuildValue("i",_result
);
1074 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
1075 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1077 wxFontEncoding _result
;
1078 wxFontMapper
* _arg0
;
1080 bool _arg2
= (bool ) TRUE
;
1081 PyObject
* _argo0
= 0;
1082 PyObject
* _obj1
= 0;
1083 int tempbool2
= (int) TRUE
;
1084 char *_kwnames
[] = { "self","charset","interactive", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
1097 _arg1
= wxString_in_helper(_obj1
);
1101 _arg2
= (bool ) tempbool2
;
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } _resultobj
= Py_BuildValue("i",_result
);
1116 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxFontEncoding _arg0
;
1120 char *_kwnames
[] = { "encoding", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1133 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1135 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1144 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1147 wxFontEncoding _arg0
;
1148 char *_kwnames
[] = { "encoding", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1161 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1163 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1172 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
1173 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1175 wxFontMapper
* _arg0
;
1177 PyObject
* _argo0
= 0;
1178 PyObject
* _argo1
= 0;
1179 char *_kwnames
[] = { "self","parent", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
1192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1209 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
1210 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxFontMapper
* _arg0
;
1214 PyObject
* _argo0
= 0;
1215 PyObject
* _obj1
= 0;
1216 char *_kwnames
[] = { "self","title", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
1229 _arg1
= wxString_in_helper(_obj1
);
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) return NULL
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1248 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
1249 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1251 wxFontMapper
* _arg0
;
1252 wxConfigBase
* _arg1
;
1253 PyObject
* _argo0
= 0;
1254 PyObject
* _argo1
= 0;
1255 char *_kwnames
[] = { "self","config", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
1268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 wxFontMapper_SetConfig(_arg0
,_arg1
);
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) return NULL
;
1280 } Py_INCREF(Py_None
);
1281 _resultobj
= Py_None
;
1285 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
1286 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1288 wxFontMapper
* _arg0
;
1290 PyObject
* _argo0
= 0;
1291 PyObject
* _obj1
= 0;
1292 char *_kwnames
[] = { "self","prefix", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
1305 _arg1
= wxString_in_helper(_obj1
);
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } Py_INCREF(Py_None
);
1316 _resultobj
= Py_None
;
1324 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 char *_kwnames
[] = { NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1340 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1351 static void *SwigwxFontTowxObject(void *ptr
) {
1354 src
= (wxFont
*) ptr
;
1355 dest
= (wxObject
*) src
;
1356 return (void *) dest
;
1359 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1360 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1367 int _arg4
= (int ) FALSE
;
1368 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1369 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1370 PyObject
* _obj5
= 0;
1371 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
1379 _arg5
= wxString_in_helper(_obj5
);
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1391 _resultobj
= Py_BuildValue("s",_ptemp
);
1394 _resultobj
= Py_None
;
1403 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
1404 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1407 wxNativeFontInfo
* _arg0
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "info", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
1416 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1429 _resultobj
= Py_BuildValue("s",_ptemp
);
1432 _resultobj
= Py_None
;
1437 static wxFont
* wxFont_wxFontFromNativeInfoString(wxFont
*self
,const wxString
& info
) {
1438 wxNativeFontInfo nfi
;
1439 nfi
.FromString(info
);
1440 return new wxFont(nfi
);
1442 static PyObject
*_wrap_wxFont_wxFontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1447 PyObject
* _argo0
= 0;
1448 PyObject
* _obj1
= 0;
1449 char *_kwnames
[] = { "self","info", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_wxFontFromNativeInfoString",_kwnames
,&_argo0
,&_obj1
))
1456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_wxFontFromNativeInfoString. Expected _wxFont_p.");
1463 _arg1
= wxString_in_helper(_obj1
);
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 _result
= (wxFont
*)wxFont_wxFontFromNativeInfoString(_arg0
,*_arg1
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1475 _resultobj
= Py_BuildValue("s",_ptemp
);
1478 _resultobj
= Py_None
;
1487 #define delete_wxFont(_swigobj) (delete _swigobj)
1488 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 delete_wxFont(_arg0
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1515 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1516 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (bool )wxFont_Ok(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("i",_result
);
1543 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1544 static PyObject
*_wrap_wxFont_GetPointSize(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_GetPointSize",_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_GetPointSize. Expected _wxFont_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= (int )wxFont_GetPointSize(_arg0
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } _resultobj
= Py_BuildValue("i",_result
);
1571 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1572 static PyObject
*_wrap_wxFont_GetFamily(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_GetFamily",_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_GetFamily. Expected _wxFont_p.");
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 _result
= (int )wxFont_GetFamily(_arg0
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } _resultobj
= Py_BuildValue("i",_result
);
1599 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1600 static PyObject
*_wrap_wxFont_GetStyle(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_GetStyle",_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_GetStyle. Expected _wxFont_p.");
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 _result
= (int )wxFont_GetStyle(_arg0
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } _resultobj
= Py_BuildValue("i",_result
);
1627 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1628 static PyObject
*_wrap_wxFont_GetWeight(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_GetWeight",_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_GetWeight. Expected _wxFont_p.");
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (int )wxFont_GetWeight(_arg0
);
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } _resultobj
= Py_BuildValue("i",_result
);
1655 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1656 static PyObject
*_wrap_wxFont_GetUnderlined(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_GetUnderlined",_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_GetUnderlined. Expected _wxFont_p.");
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1684 static PyObject
*_wrap_wxFont_GetFaceName(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_GetFaceName",_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_GetFaceName. Expected _wxFont_p.");
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) return NULL
;
1709 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1720 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
1721 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxFontEncoding _result
;
1725 PyObject
* _argo0
= 0;
1726 char *_kwnames
[] = { "self", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) return NULL
;
1744 } _resultobj
= Py_BuildValue("i",_result
);
1748 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
1749 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
* _resultobj
;
1753 PyObject
* _argo0
= 0;
1754 char *_kwnames
[] = { "self", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_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_IsFixedWidth. Expected _wxFont_p.");
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) return NULL
;
1772 } _resultobj
= Py_BuildValue("i",_result
);
1776 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
1777 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1779 wxNativeFontInfo
* _result
;
1781 PyObject
* _argo0
= 0;
1782 char *_kwnames
[] = { "self", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) return NULL
;
1802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
1803 _resultobj
= Py_BuildValue("s",_ptemp
);
1806 _resultobj
= Py_None
;
1811 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
1812 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1837 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1839 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1848 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
1849 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1874 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1876 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1885 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1886 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self","pointSize", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetPointSize. Expected _wxFont_p.");
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 wxFont_SetPointSize(_arg0
,_arg1
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) return NULL
;
1909 } Py_INCREF(Py_None
);
1910 _resultobj
= Py_None
;
1914 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1915 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self","family", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 wxFont_SetFamily(_arg0
,_arg1
);
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) return NULL
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1943 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1944 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1948 PyObject
* _argo0
= 0;
1949 char *_kwnames
[] = { "self","style", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 wxFont_SetStyle(_arg0
,_arg1
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) return NULL
;
1967 } Py_INCREF(Py_None
);
1968 _resultobj
= Py_None
;
1972 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1973 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self","weight", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxFont_SetWeight(_arg0
,_arg1
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
2002 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2006 PyObject
* _argo0
= 0;
2007 PyObject
* _obj1
= 0;
2008 char *_kwnames
[] = { "self","faceName", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
2014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
2021 _arg1
= wxString_in_helper(_obj1
);
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 wxFont_SetFaceName(_arg0
,*_arg1
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) return NULL
;
2031 } Py_INCREF(Py_None
);
2032 _resultobj
= Py_None
;
2040 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
2041 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2047 char *_kwnames
[] = { "self","underlined", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
2059 _arg1
= (bool ) tempbool1
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 wxFont_SetUnderlined(_arg0
,_arg1
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } Py_INCREF(Py_None
);
2067 _resultobj
= Py_None
;
2071 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
2072 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2075 wxFontEncoding _arg1
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self","encoding", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 wxFont_SetEncoding(_arg0
,_arg1
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2100 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
2101 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2104 wxNativeFontInfo
* _arg1
;
2105 PyObject
* _argo0
= 0;
2106 PyObject
* _argo1
= 0;
2107 char *_kwnames
[] = { "self","info", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
2120 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) return NULL
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
2137 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _obj1
= 0;
2143 char *_kwnames
[] = { "self","info", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
2156 _arg1
= wxString_in_helper(_obj1
);
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2166 } Py_INCREF(Py_None
);
2167 _resultobj
= Py_None
;
2175 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2176 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2180 PyObject
* _argo0
= 0;
2181 char *_kwnames
[] = { "self", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) return NULL
;
2201 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2203 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2212 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2213 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2238 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2240 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2249 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2250 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2275 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2277 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2286 #define wxFont_SetNoAntiAliasing(_swigobj,_swigarg0) (_swigobj->SetNoAntiAliasing(_swigarg0))
2287 static PyObject
*_wrap_wxFont_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2290 bool _arg1
= (bool ) TRUE
;
2291 PyObject
* _argo0
= 0;
2292 int tempbool1
= (int) TRUE
;
2293 char *_kwnames
[] = { "self","no", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxFont_SetNoAntiAliasing",_kwnames
,&_argo0
,&tempbool1
))
2299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNoAntiAliasing. Expected _wxFont_p.");
2305 _arg1
= (bool ) tempbool1
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 wxFont_SetNoAntiAliasing(_arg0
,_arg1
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) return NULL
;
2312 } Py_INCREF(Py_None
);
2313 _resultobj
= Py_None
;
2317 #define wxFont_GetNoAntiAliasing(_swigobj) (_swigobj->GetNoAntiAliasing())
2318 static PyObject
*_wrap_wxFont_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2322 PyObject
* _argo0
= 0;
2323 char *_kwnames
[] = { "self", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNoAntiAliasing",_kwnames
,&_argo0
))
2329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNoAntiAliasing. Expected _wxFont_p.");
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 _result
= (bool )wxFont_GetNoAntiAliasing(_arg0
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) return NULL
;
2341 } _resultobj
= Py_BuildValue("i",_result
);
2345 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2347 wxFontEncoding _result
;
2348 char *_kwnames
[] = { NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2365 wxFontEncoding _arg0
;
2366 char *_kwnames
[] = { "encoding", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 wxFont::SetDefaultEncoding(_arg0
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) return NULL
;
2377 } Py_INCREF(Py_None
);
2378 _resultobj
= Py_None
;
2382 static void *SwigwxFontListTowxObject(void *ptr
) {
2385 src
= (wxFontList
*) ptr
;
2386 dest
= (wxObject
*) src
;
2387 return (void *) dest
;
2390 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
2391 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2395 PyObject
* _argo0
= 0;
2396 PyObject
* _argo1
= 0;
2397 char *_kwnames
[] = { "self","font", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
2410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 wxFontList_AddFont(_arg0
,_arg1
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) return NULL
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2428 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2436 bool _arg5
= (bool ) FALSE
;
2437 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
2438 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2439 PyObject
* _argo0
= 0;
2440 int tempbool5
= (int) FALSE
;
2441 PyObject
* _obj6
= 0;
2442 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
2449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
2455 _arg5
= (bool ) tempbool5
;
2458 _arg6
= wxString_in_helper(_obj6
);
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2470 _resultobj
= Py_BuildValue("s",_ptemp
);
2473 _resultobj
= Py_None
;
2482 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
2483 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2487 PyObject
* _argo0
= 0;
2488 PyObject
* _argo1
= 0;
2489 char *_kwnames
[] = { "self","font", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
2502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 wxFontList_RemoveFont(_arg0
,_arg1
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) return NULL
;
2514 } Py_INCREF(Py_None
);
2515 _resultobj
= Py_None
;
2519 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
2520 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 _result
= (int )wxFontList_GetCount(_arg0
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) return NULL
;
2543 } _resultobj
= Py_BuildValue("i",_result
);
2547 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2548 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2550 wxPyFontEnumerator
* _result
;
2551 char *_kwnames
[] = { NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) return NULL
;
2564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2565 _resultobj
= Py_BuildValue("s",_ptemp
);
2568 _resultobj
= Py_None
;
2573 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2574 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxPyFontEnumerator
* _arg0
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 delete_wxPyFontEnumerator(_arg0
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2601 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2602 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2604 wxPyFontEnumerator
* _arg0
;
2608 PyObject
* _argo0
= 0;
2609 PyObject
* _obj1
= 0;
2610 PyObject
* _obj2
= 0;
2612 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2630 _arg3
= (bool ) tempbool3
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) return NULL
;
2637 } Py_INCREF(Py_None
);
2638 _resultobj
= Py_None
;
2642 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2643 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2646 wxPyFontEnumerator
* _arg0
;
2647 wxFontEncoding _arg1
= (wxFontEncoding
) (wxFONTENCODING_SYSTEM
);
2648 bool _arg2
= (bool ) FALSE
;
2649 PyObject
* _argo0
= 0;
2650 int tempbool2
= (int) FALSE
;
2651 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2663 _arg2
= (bool ) tempbool2
;
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) return NULL
;
2670 } _resultobj
= Py_BuildValue("i",_result
);
2674 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2675 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2678 wxPyFontEnumerator
* _arg0
;
2679 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
2680 PyObject
* _argo0
= 0;
2681 PyObject
* _obj1
= 0;
2682 char *_kwnames
[] = { "self","facename", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2696 _arg1
= wxString_in_helper(_obj1
);
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } _resultobj
= Py_BuildValue("i",_result
);
2714 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2715 wxArrayString
* arr
= self
->GetEncodings();
2716 return wxArrayString2PyList_helper(*arr
);
2718 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2721 wxPyFontEnumerator
* _arg0
;
2722 PyObject
* _argo0
= 0;
2723 char *_kwnames
[] = { "self", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) return NULL
;
2742 _resultobj
= _result
;
2747 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2748 wxArrayString
* arr
= self
->GetFacenames();
2749 return wxArrayString2PyList_helper(*arr
);
2751 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2754 wxPyFontEnumerator
* _arg0
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) return NULL
;
2775 _resultobj
= _result
;
2780 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval)
2781 static PyObject
*_wrap_wxLanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2784 wxLanguageInfo
* _arg0
;
2786 PyObject
* _argo0
= 0;
2787 char *_kwnames
[] = { "self","Language", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p.");
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 _result
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language)
2810 static PyObject
*_wrap_wxLanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2813 wxLanguageInfo
* _arg0
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))
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_get. Expected _wxLanguageInfo_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 _result
= (int )wxLanguageInfo_Language_get(_arg0
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } _resultobj
= Py_BuildValue("i",_result
);
2837 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval)
2838 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2841 wxLanguageInfo
* _arg0
;
2843 PyObject
* _argo0
= 0;
2844 PyObject
* _obj1
= 0;
2845 char *_kwnames
[] = { "self","CanonicalName", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_set. Expected _wxLanguageInfo_p.");
2858 _arg1
= wxString_in_helper(_obj1
);
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 _result
= (wxString
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2870 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2872 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2882 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName)
2883 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2886 wxLanguageInfo
* _arg0
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p.");
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 _result
= (wxString
*)wxLanguageInfo_CanonicalName_get(_arg0
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) return NULL
;
2908 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2910 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2916 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval)
2917 static PyObject
*_wrap_wxLanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2920 wxLanguageInfo
* _arg0
;
2922 PyObject
* _argo0
= 0;
2923 PyObject
* _obj1
= 0;
2924 char *_kwnames
[] = { "self","Description", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_set. Expected _wxLanguageInfo_p.");
2937 _arg1
= wxString_in_helper(_obj1
);
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 _result
= (wxString
*)wxLanguageInfo_Description_set(_arg0
,_arg1
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) return NULL
;
2949 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2951 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2961 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description)
2962 static PyObject
*_wrap_wxLanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2965 wxLanguageInfo
* _arg0
;
2966 PyObject
* _argo0
= 0;
2967 char *_kwnames
[] = { "self", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p.");
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 _result
= (wxString
*)wxLanguageInfo_Description_get(_arg0
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) return NULL
;
2987 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2989 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2995 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1))
2996 static PyObject
*_wrap_new_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2999 int _arg0
= (int ) (wxLANGUAGE_DEFAULT
);
3000 int _arg1
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
3001 char *_kwnames
[] = { "language","flags", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 _result
= (wxLocale
*)new_wxLocale(_arg0
,_arg1
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) return NULL
;
3014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
3015 _resultobj
= Py_BuildValue("s",_ptemp
);
3018 _resultobj
= Py_None
;
3023 #define delete_wxLocale(_swigobj) (delete _swigobj)
3024 static PyObject
*_wrap_delete_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3027 PyObject
* _argo0
= 0;
3028 char *_kwnames
[] = { "self", NULL
};
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))
3034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLocale. Expected _wxLocale_p.");
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 delete_wxLocale(_arg0
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) return NULL
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxLocale_Init1(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3052 static PyObject
*_wrap_wxLocale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3057 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3058 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
3059 bool _arg4
= (bool ) TRUE
;
3060 bool _arg5
= (bool ) FALSE
;
3061 PyObject
* _argo0
= 0;
3062 PyObject
* _obj1
= 0;
3063 PyObject
* _obj2
= 0;
3064 PyObject
* _obj3
= 0;
3065 int tempbool4
= (int) TRUE
;
3066 int tempbool5
= (int) FALSE
;
3067 char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init1",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init1. Expected _wxLocale_p.");
3080 _arg1
= wxString_in_helper(_obj1
);
3086 _arg2
= wxString_in_helper(_obj2
);
3092 _arg3
= wxString_in_helper(_obj3
);
3096 _arg4
= (bool ) tempbool4
;
3097 _arg5
= (bool ) tempbool5
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 _result
= (bool )wxLocale_Init1(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) return NULL
;
3104 } _resultobj
= Py_BuildValue("i",_result
);
3120 #define wxLocale_Init2(_swigobj,_swigarg0,_swigarg1) (_swigobj->Init(_swigarg0,_swigarg1))
3121 static PyObject
*_wrap_wxLocale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3125 int _arg1
= (int ) (wxLANGUAGE_DEFAULT
);
3126 int _arg2
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self","language","flags", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxLocale_Init2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init2. Expected _wxLocale_p.");
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 _result
= (bool )wxLocale_Init2(_arg0
,_arg1
,_arg2
);
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3146 } _resultobj
= Py_BuildValue("i",_result
);
3150 static PyObject
*_wrap_wxLocale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 char *_kwnames
[] = { NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 _result
= (int )wxLocale::GetSystemLanguage();
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) return NULL
;
3164 } _resultobj
= Py_BuildValue("i",_result
);
3168 static PyObject
*_wrap_wxLocale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxFontEncoding _result
;
3171 char *_kwnames
[] = { NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 _result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3182 } _resultobj
= Py_BuildValue("i",_result
);
3186 static PyObject
*_wrap_wxLocale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3189 char *_kwnames
[] = { NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 _result
= new wxString (wxLocale::GetSystemEncodingName());
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) return NULL
;
3202 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3204 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3213 #define wxLocale_IsOk(_swigobj) (_swigobj->IsOk())
3214 static PyObject
*_wrap_wxLocale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3218 PyObject
* _argo0
= 0;
3219 char *_kwnames
[] = { "self", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p.");
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 _result
= (bool )wxLocale_IsOk(_arg0
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) return NULL
;
3237 } _resultobj
= Py_BuildValue("i",_result
);
3241 #define wxLocale_GetLocale(_swigobj) (_swigobj->GetLocale())
3242 static PyObject
*_wrap_wxLocale_GetLocale(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_GetLocale",_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_GetLocale. Expected _wxLocale_p.");
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 _result
= new wxString (wxLocale_GetLocale(_arg0
));
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) return NULL
;
3267 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3269 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3278 #define wxLocale_GetLanguage(_swigobj) (_swigobj->GetLanguage())
3279 static PyObject
*_wrap_wxLocale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 _result
= (int )wxLocale_GetLanguage(_arg0
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } _resultobj
= Py_BuildValue("i",_result
);
3306 #define wxLocale_GetSysName(_swigobj) (_swigobj->GetSysName())
3307 static PyObject
*_wrap_wxLocale_GetSysName(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_GetSysName",_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_GetSysName. Expected _wxLocale_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 _result
= new wxString (wxLocale_GetSysName(_arg0
));
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3332 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3343 #define wxLocale_GetCanonicalName(_swigobj) (_swigobj->GetCanonicalName())
3344 static PyObject
*_wrap_wxLocale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p.");
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 _result
= new wxString (wxLocale_GetCanonicalName(_arg0
));
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3369 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3371 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3380 static PyObject
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3383 PyObject
* _obj0
= 0;
3384 char *_kwnames
[] = { "prefix", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))
3390 _arg0
= wxString_in_helper(_obj0
);
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 wxLocale::AddCatalogLookupPathPrefix(*_arg0
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) return NULL
;
3400 } Py_INCREF(Py_None
);
3401 _resultobj
= Py_None
;
3409 #define wxLocale_AddCatalog(_swigobj,_swigarg0) (_swigobj->AddCatalog(_swigarg0))
3410 static PyObject
*_wrap_wxLocale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3415 PyObject
* _argo0
= 0;
3416 PyObject
* _obj1
= 0;
3417 char *_kwnames
[] = { "self","szDomain", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p.");
3430 _arg1
= wxString_in_helper(_obj1
);
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 _result
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) return NULL
;
3440 } _resultobj
= Py_BuildValue("i",_result
);
3448 #define wxLocale_IsLoaded(_swigobj,_swigarg0) (_swigobj->IsLoaded(_swigarg0))
3449 static PyObject
*_wrap_wxLocale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3454 PyObject
* _argo0
= 0;
3455 PyObject
* _obj1
= 0;
3456 char *_kwnames
[] = { "self","szDomain", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p.");
3469 _arg1
= wxString_in_helper(_obj1
);
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 _result
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) return NULL
;
3479 } _resultobj
= Py_BuildValue("i",_result
);
3487 static PyObject
*_wrap_wxLocale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxLanguageInfo
* _result
;
3491 char *_kwnames
[] = { "lang", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxLocale_GetLanguageInfo",_kwnames
,&_arg0
))
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 _result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(_arg0
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) return NULL
;
3504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3505 _resultobj
= Py_BuildValue("s",_ptemp
);
3508 _resultobj
= Py_None
;
3513 static PyObject
*_wrap_wxLocale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3515 wxLanguageInfo
* _result
;
3517 PyObject
* _obj0
= 0;
3518 char *_kwnames
[] = { "locale", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_FindLanguageInfo",_kwnames
,&_obj0
))
3525 _arg0
= wxString_in_helper(_obj0
);
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo(*_arg0
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3537 _resultobj
= Py_BuildValue("s",_ptemp
);
3540 _resultobj
= Py_None
;
3549 static PyObject
*_wrap_wxLocale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3551 wxLanguageInfo
* _arg0
;
3552 PyObject
* _argo0
= 0;
3553 char *_kwnames
[] = { "info", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))
3559 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 wxLocale::AddLanguage(*_arg0
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3570 } Py_INCREF(Py_None
);
3571 _resultobj
= Py_None
;
3575 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetString(_swigarg0,_swigarg1))
3576 static PyObject
*_wrap_wxLocale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3581 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3582 PyObject
* _argo0
= 0;
3583 PyObject
* _obj1
= 0;
3584 PyObject
* _obj2
= 0;
3585 char *_kwnames
[] = { "self","szOrigString","szDomain", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetString. Expected _wxLocale_p.");
3598 _arg1
= wxString_in_helper(_obj1
);
3604 _arg2
= wxString_in_helper(_obj2
);
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
));
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3616 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3618 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3635 #define wxLocale_GetName(_swigobj) (_swigobj->GetName())
3636 static PyObject
*_wrap_wxLocale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))
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_GetName. Expected _wxLocale_p.");
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 const wxString
& _result_ref
= wxLocale_GetName(_arg0
);
3656 _result
= (wxString
*) &_result_ref
;
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3662 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3664 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3670 static void *SwigwxEncodingConverterTowxObject(void *ptr
) {
3671 wxEncodingConverter
*src
;
3673 src
= (wxEncodingConverter
*) ptr
;
3674 dest
= (wxObject
*) src
;
3675 return (void *) dest
;
3678 #define new_wxEncodingConverter() (new wxEncodingConverter())
3679 static PyObject
*_wrap_new_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3681 wxEncodingConverter
* _result
;
3682 char *_kwnames
[] = { NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 _result
= (wxEncodingConverter
*)new_wxEncodingConverter();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) return NULL
;
3695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p");
3696 _resultobj
= Py_BuildValue("s",_ptemp
);
3699 _resultobj
= Py_None
;
3704 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj)
3705 static PyObject
*_wrap_delete_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3707 wxEncodingConverter
* _arg0
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 delete_wxEncodingConverter(_arg0
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2))
3733 static PyObject
*_wrap_wxEncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3736 wxEncodingConverter
* _arg0
;
3737 wxFontEncoding _arg1
;
3738 wxFontEncoding _arg2
;
3739 int _arg3
= (int ) (wxCONVERT_STRICT
);
3740 PyObject
* _argo0
= 0;
3741 char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p.");
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 _result
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) return NULL
;
3759 } _resultobj
= Py_BuildValue("i",_result
);
3763 #define wxEncodingConverter_Convert(_swigobj,_swigarg0) (_swigobj->Convert(_swigarg0))
3764 static PyObject
*_wrap_wxEncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3767 wxEncodingConverter
* _arg0
;
3769 PyObject
* _argo0
= 0;
3770 PyObject
* _obj1
= 0;
3771 char *_kwnames
[] = { "self","input", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p.");
3784 _arg1
= wxString_in_helper(_obj1
);
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 _result
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
));
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) return NULL
;
3796 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3811 static PyObject
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3813 wxFontEncodingArray
* _result
;
3814 wxFontEncoding _arg0
;
3815 int _arg1
= (int ) (wxPLATFORM_CURRENT
);
3816 char *_kwnames
[] = { "enc","platform", NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 _result
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
));
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) return NULL
;
3828 _resultobj
= PyList_New(0);
3829 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3830 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3831 PyList_Append(_resultobj
, number
);
3838 static PyObject
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3840 wxFontEncodingArray
* _result
;
3841 wxFontEncoding _arg0
;
3842 char *_kwnames
[] = { "enc", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 _result
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
));
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3854 _resultobj
= PyList_New(0);
3855 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3856 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3857 PyList_Append(_resultobj
, number
);
3864 static PyMethodDef fontscMethods
[] = {
3865 { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3866 { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3867 { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
3868 { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
3869 { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3870 { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3871 { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
3872 { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3873 { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3874 { "wxLocale_FindLanguageInfo", (PyCFunction
) _wrap_wxLocale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3875 { "wxLocale_GetLanguageInfo", (PyCFunction
) _wrap_wxLocale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3876 { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
3877 { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
3878 { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
3879 { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
3880 { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
3881 { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3882 { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3883 { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
3884 { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3885 { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3886 { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3887 { "wxLocale_Init2", (PyCFunction
) _wrap_wxLocale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
3888 { "wxLocale_Init1", (PyCFunction
) _wrap_wxLocale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
3889 { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3890 { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3891 { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
3892 { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
3893 { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
3894 { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
3895 { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
3896 { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
3897 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3898 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3899 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3900 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3901 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3902 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3903 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3904 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
3905 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
3906 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
3907 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
3908 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3909 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3910 { "wxFont_GetNoAntiAliasing", (PyCFunction
) _wrap_wxFont_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
3911 { "wxFont_SetNoAntiAliasing", (PyCFunction
) _wrap_wxFont_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
3912 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
3913 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
3914 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
3915 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3916 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3917 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3918 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3919 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3920 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3921 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3922 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3923 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3924 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3925 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
3926 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3927 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
3928 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3929 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3930 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3931 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3932 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3933 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3934 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3935 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
3936 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3937 { "wxFont_wxFontFromNativeInfoString", (PyCFunction
) _wrap_wxFont_wxFontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
3938 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
3939 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3940 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
3941 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
3942 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
3943 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
3944 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
3945 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
3946 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3947 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3948 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
3949 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3950 { "wxFontMapper_Set", (PyCFunction
) _wrap_wxFontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
3951 { "wxFontMapper_Get", (PyCFunction
) _wrap_wxFontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
3952 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
3953 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
3954 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
3955 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
3956 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
3957 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
3958 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
3959 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3960 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3961 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3962 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3963 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3964 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3965 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3966 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3983 * This table is used by the pointer type-checker
3985 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3986 { "_signed_long","_long",0},
3987 { "_wxPrintQuality","_wxCoord",0},
3988 { "_wxPrintQuality","_int",0},
3989 { "_wxPrintQuality","_signed_int",0},
3990 { "_wxPrintQuality","_unsigned_int",0},
3991 { "_wxPrintQuality","_wxWindowID",0},
3992 { "_wxPrintQuality","_uint",0},
3993 { "_wxPrintQuality","_EBool",0},
3994 { "_wxPrintQuality","_size_t",0},
3995 { "_wxPrintQuality","_time_t",0},
3996 { "_byte","_unsigned_char",0},
3997 { "_long","_unsigned_long",0},
3998 { "_long","_signed_long",0},
3999 { "_size_t","_wxCoord",0},
4000 { "_size_t","_wxPrintQuality",0},
4001 { "_size_t","_time_t",0},
4002 { "_size_t","_unsigned_int",0},
4003 { "_size_t","_int",0},
4004 { "_size_t","_wxWindowID",0},
4005 { "_size_t","_uint",0},
4006 { "_uint","_wxCoord",0},
4007 { "_uint","_wxPrintQuality",0},
4008 { "_uint","_time_t",0},
4009 { "_uint","_size_t",0},
4010 { "_uint","_unsigned_int",0},
4011 { "_uint","_int",0},
4012 { "_uint","_wxWindowID",0},
4013 { "_wxChar","_char",0},
4014 { "_char","_wxChar",0},
4015 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4016 { "_EBool","_wxCoord",0},
4017 { "_EBool","_wxPrintQuality",0},
4018 { "_EBool","_signed_int",0},
4019 { "_EBool","_int",0},
4020 { "_EBool","_wxWindowID",0},
4021 { "_unsigned_long","_long",0},
4022 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4023 { "_signed_int","_wxCoord",0},
4024 { "_signed_int","_wxPrintQuality",0},
4025 { "_signed_int","_EBool",0},
4026 { "_signed_int","_wxWindowID",0},
4027 { "_signed_int","_int",0},
4028 { "_WXTYPE","_short",0},
4029 { "_WXTYPE","_signed_short",0},
4030 { "_WXTYPE","_unsigned_short",0},
4031 { "_unsigned_short","_WXTYPE",0},
4032 { "_unsigned_short","_short",0},
4033 { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
},
4034 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
4035 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
4036 { "_signed_short","_WXTYPE",0},
4037 { "_signed_short","_short",0},
4038 { "_unsigned_char","_byte",0},
4039 { "_unsigned_int","_wxCoord",0},
4040 { "_unsigned_int","_wxPrintQuality",0},
4041 { "_unsigned_int","_time_t",0},
4042 { "_unsigned_int","_size_t",0},
4043 { "_unsigned_int","_uint",0},
4044 { "_unsigned_int","_wxWindowID",0},
4045 { "_unsigned_int","_int",0},
4046 { "_short","_WXTYPE",0},
4047 { "_short","_unsigned_short",0},
4048 { "_short","_signed_short",0},
4049 { "_wxWindowID","_wxCoord",0},
4050 { "_wxWindowID","_wxPrintQuality",0},
4051 { "_wxWindowID","_time_t",0},
4052 { "_wxWindowID","_size_t",0},
4053 { "_wxWindowID","_EBool",0},
4054 { "_wxWindowID","_uint",0},
4055 { "_wxWindowID","_int",0},
4056 { "_wxWindowID","_signed_int",0},
4057 { "_wxWindowID","_unsigned_int",0},
4058 { "_int","_wxCoord",0},
4059 { "_int","_wxPrintQuality",0},
4060 { "_int","_time_t",0},
4061 { "_int","_size_t",0},
4062 { "_int","_EBool",0},
4063 { "_int","_uint",0},
4064 { "_int","_wxWindowID",0},
4065 { "_int","_unsigned_int",0},
4066 { "_int","_signed_int",0},
4067 { "_time_t","_wxCoord",0},
4068 { "_time_t","_wxPrintQuality",0},
4069 { "_time_t","_unsigned_int",0},
4070 { "_time_t","_int",0},
4071 { "_time_t","_wxWindowID",0},
4072 { "_time_t","_uint",0},
4073 { "_time_t","_size_t",0},
4074 { "_wxCoord","_int",0},
4075 { "_wxCoord","_signed_int",0},
4076 { "_wxCoord","_unsigned_int",0},
4077 { "_wxCoord","_wxWindowID",0},
4078 { "_wxCoord","_uint",0},
4079 { "_wxCoord","_EBool",0},
4080 { "_wxCoord","_size_t",0},
4081 { "_wxCoord","_time_t",0},
4082 { "_wxCoord","_wxPrintQuality",0},
4085 static PyObject
*SWIG_globals
;
4089 SWIGEXPORT(void) initfontsc() {
4091 SWIG_globals
= SWIG_newvarlink();
4092 m
= Py_InitModule("fontsc", fontscMethods
);
4093 d
= PyModule_GetDict(m
);
4094 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
4095 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
4096 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
4097 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
4098 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
4099 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
4100 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
4101 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
4102 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
4103 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
4104 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
4105 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
4106 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
4107 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
4108 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
4109 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
4110 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
4111 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
4112 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
4113 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
4114 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
4115 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
4116 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
4117 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
4118 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
4119 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
4120 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
4121 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
4122 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
4123 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
4124 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
4125 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
4126 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
4127 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
4128 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
4129 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
4130 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
4131 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
4132 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
4133 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
4134 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
4135 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
4136 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
4137 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
4138 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
4139 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
4140 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
4141 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
4142 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
4143 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
4144 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
4145 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
4146 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
4147 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
4148 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
4149 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
4150 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
4151 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
4152 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
4153 PyDict_SetItemString(d
,"wxFONTENCODING_GB2312", PyInt_FromLong((long) wxFONTENCODING_GB2312
));
4154 PyDict_SetItemString(d
,"wxFONTENCODING_BIG5", PyInt_FromLong((long) wxFONTENCODING_BIG5
));
4155 PyDict_SetItemString(d
,"wxFONTENCODING_SHIFT_JIS", PyInt_FromLong((long) wxFONTENCODING_SHIFT_JIS
));
4156 PyDict_SetItemString(d
,"wxFONTENCODING_EUC_JP", PyInt_FromLong((long) wxFONTENCODING_EUC_JP
));
4157 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
4158 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
4159 PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
));
4160 PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
));
4161 PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
));
4162 PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
));
4163 PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
));
4164 PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
));
4165 PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
));
4166 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
));
4167 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
));
4168 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
));
4169 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
));
4170 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
));
4171 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
));
4172 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
));
4173 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
));
4174 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
));
4175 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
));
4176 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
));
4177 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
));
4178 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
4179 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
));
4180 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
));
4181 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
));
4182 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
));
4183 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
));
4184 PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
));
4185 PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
));
4186 PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
));
4187 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
));
4188 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
));
4189 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
));
4190 PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
));
4191 PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
));
4192 PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
));
4193 PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
));
4194 PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
));
4195 PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
));
4196 PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
));
4197 PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
));
4198 PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
));
4199 PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
));
4200 PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
));
4201 PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
));
4202 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
));
4203 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
));
4204 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
));
4205 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
));
4206 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
));
4207 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
));
4208 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
));
4209 PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
));
4210 PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
));
4211 PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
));
4212 PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
));
4213 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
));
4214 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
));
4215 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
));
4216 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
));
4217 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
));
4218 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
));
4219 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
));
4220 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
));
4221 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
));
4222 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
));
4223 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
));
4224 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
));
4225 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
));
4226 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
4227 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
));
4228 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
4229 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
));
4230 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
));
4231 PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
));
4232 PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
));
4233 PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
));
4234 PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
));
4235 PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
));
4236 PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
));
4237 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
));
4238 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
));
4239 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
));
4240 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
));
4241 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
));
4242 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
));
4243 PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
));
4244 PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
));
4245 PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
));
4246 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
));
4247 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
));
4248 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
));
4249 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
4250 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
));
4251 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
));
4252 PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
));
4253 PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
));
4254 PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
));
4255 PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
));
4256 PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
));
4257 PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
));
4258 PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
));
4259 PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
));
4260 PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
));
4261 PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
));
4262 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
));
4263 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
));
4264 PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
));
4265 PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
));
4266 PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
));
4267 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
));
4268 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
));
4269 PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
));
4270 PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
));
4271 PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
));
4272 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
));
4273 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
));
4274 PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
));
4275 PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
));
4276 PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
));
4277 PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
));
4278 PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
));
4279 PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
));
4280 PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
));
4281 PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
));
4282 PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
));
4283 PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
));
4284 PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
));
4285 PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
));
4286 PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
));
4287 PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
));
4288 PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
));
4289 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
));
4290 PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
));
4291 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
4292 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
));
4293 PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
));
4294 PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
));
4295 PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
));
4296 PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
));
4297 PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
));
4298 PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
));
4299 PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
));
4300 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
));
4301 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
));
4302 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
));
4303 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
));
4304 PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
));
4305 PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
));
4306 PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
));
4307 PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
));
4308 PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
));
4309 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
));
4310 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
4311 PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
));
4312 PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
));
4313 PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
));
4314 PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
));
4315 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
));
4316 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
));
4317 PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
));
4318 PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
));
4319 PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
));
4320 PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
));
4321 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
));
4322 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
));
4323 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
));
4324 PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
));
4325 PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
));
4326 PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
));
4327 PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
));
4328 PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
));
4329 PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
));
4330 PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
));
4331 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
));
4332 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
));
4333 PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
));
4334 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
));
4335 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
));
4336 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
));
4337 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
));
4338 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
));
4339 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
));
4340 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
4341 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
));
4342 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
));
4343 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
));
4344 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
));
4345 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
));
4346 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
));
4347 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
));
4348 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
));
4349 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
));
4350 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
));
4351 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
));
4352 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
));
4353 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
));
4354 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
));
4355 PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
));
4356 PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
));
4357 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
));
4358 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
));
4359 PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
));
4360 PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
));
4361 PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
));
4362 PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
));
4363 PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
));
4364 PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
));
4365 PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
));
4366 PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
));
4367 PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
));
4368 PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
));
4369 PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
));
4370 PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
));
4371 PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
));
4372 PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
));
4373 PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
));
4374 PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
));
4375 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
));
4376 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
));
4377 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
));
4378 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
));
4379 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
));
4380 PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
));
4381 PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
));
4382 PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
));
4383 PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
));
4384 PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
));
4385 PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
));
4386 PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
));
4387 PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
));
4388 PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
));
4389 PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
));
4390 PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
));
4391 PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
));
4392 PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
));
4393 PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
));
4394 PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
));
4395 PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
));
4396 PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
));
4397 PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
));
4398 PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
));
4399 PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
));
4400 PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
));
4401 PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
));
4402 PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
));
4403 PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
));
4404 PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
));
4406 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
4409 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4410 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);