2 * FILE : src/msw/fonts.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initfontsc
56 #define SWIG_name "fontsc"
59 #include <wx/fontmap.h>
60 #include <wx/fontenc.h>
61 #include <wx/fontutil.h>
62 #include <wx/fontenum.h>
64 #include <wx/encconv.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 // Put some wx default wxChar* values into wxStrings.
94 static const wxString
wxPyEmptyString(wxT(""));
96 class wxPyFontEnumerator
: public wxFontEnumerator
{
98 wxPyFontEnumerator() {}
99 ~wxPyFontEnumerator() {}
101 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
102 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
107 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
108 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
113 static PyObject
*_wrap_wxGetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
114 PyObject
* _resultobj
;
116 char *_kwnames
[] = { NULL
};
120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetLocale",_kwnames
))
123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
124 _result
= (wxLocale
*)wxGetLocale();
126 wxPyEndAllowThreads(__tstate
);
127 if (PyErr_Occurred()) return NULL
;
129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
130 _resultobj
= Py_BuildValue("s",_ptemp
);
133 _resultobj
= Py_None
;
138 static PyObject
*_wrap_wxGetTranslation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
139 PyObject
* _resultobj
;
142 PyObject
* _obj0
= 0;
143 char *_kwnames
[] = { "sz", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTranslation",_kwnames
,&_obj0
))
149 _arg0
= wxString_in_helper(_obj0
);
154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
155 _result
= new wxString (wxGetTranslation(*_arg0
));
157 wxPyEndAllowThreads(__tstate
);
158 if (PyErr_Occurred()) return NULL
;
161 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
163 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
176 #define new_wxNativeFontInfo() (new wxNativeFontInfo())
177 static PyObject
*_wrap_new_wxNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
179 wxNativeFontInfo
* _result
;
180 char *_kwnames
[] = { NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNativeFontInfo",_kwnames
))
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
188 _result
= (wxNativeFontInfo
*)new_wxNativeFontInfo();
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
194 _resultobj
= Py_BuildValue("s",_ptemp
);
197 _resultobj
= Py_None
;
202 #define wxNativeFontInfo_Init(_swigobj) (_swigobj->Init())
203 static PyObject
*_wrap_wxNativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
204 PyObject
* _resultobj
;
205 wxNativeFontInfo
* _arg0
;
206 PyObject
* _argo0
= 0;
207 char *_kwnames
[] = { "self", NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_Init",_kwnames
,&_argo0
))
213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_Init. Expected _wxNativeFontInfo_p.");
220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
221 wxNativeFontInfo_Init(_arg0
);
223 wxPyEndAllowThreads(__tstate
);
224 if (PyErr_Occurred()) return NULL
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
230 #define wxNativeFontInfo_GetPointSize(_swigobj) (_swigobj->GetPointSize())
231 static PyObject
*_wrap_wxNativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
234 wxNativeFontInfo
* _arg0
;
235 PyObject
* _argo0
= 0;
236 char *_kwnames
[] = { "self", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetPointSize",_kwnames
,&_argo0
))
242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetPointSize. Expected _wxNativeFontInfo_p.");
249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
250 _result
= (int )wxNativeFontInfo_GetPointSize(_arg0
);
252 wxPyEndAllowThreads(__tstate
);
253 if (PyErr_Occurred()) return NULL
;
254 } _resultobj
= Py_BuildValue("i",_result
);
258 #define wxNativeFontInfo_GetStyle(_swigobj) (_swigobj->GetStyle())
259 static PyObject
*_wrap_wxNativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
262 wxNativeFontInfo
* _arg0
;
263 PyObject
* _argo0
= 0;
264 char *_kwnames
[] = { "self", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetStyle",_kwnames
,&_argo0
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetStyle. Expected _wxNativeFontInfo_p.");
277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
278 _result
= (wxFontStyle
)wxNativeFontInfo_GetStyle(_arg0
);
280 wxPyEndAllowThreads(__tstate
);
281 if (PyErr_Occurred()) return NULL
;
282 } _resultobj
= Py_BuildValue("i",_result
);
286 #define wxNativeFontInfo_GetWeight(_swigobj) (_swigobj->GetWeight())
287 static PyObject
*_wrap_wxNativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
288 PyObject
* _resultobj
;
289 wxFontWeight _result
;
290 wxNativeFontInfo
* _arg0
;
291 PyObject
* _argo0
= 0;
292 char *_kwnames
[] = { "self", NULL
};
295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetWeight",_kwnames
,&_argo0
))
298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetWeight. Expected _wxNativeFontInfo_p.");
305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
306 _result
= (wxFontWeight
)wxNativeFontInfo_GetWeight(_arg0
);
308 wxPyEndAllowThreads(__tstate
);
309 if (PyErr_Occurred()) return NULL
;
310 } _resultobj
= Py_BuildValue("i",_result
);
314 #define wxNativeFontInfo_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
315 static PyObject
*_wrap_wxNativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
318 wxNativeFontInfo
* _arg0
;
319 PyObject
* _argo0
= 0;
320 char *_kwnames
[] = { "self", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetUnderlined",_kwnames
,&_argo0
))
326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetUnderlined. Expected _wxNativeFontInfo_p.");
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 _result
= (bool )wxNativeFontInfo_GetUnderlined(_arg0
);
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
338 } _resultobj
= Py_BuildValue("i",_result
);
342 #define wxNativeFontInfo_GetFaceName(_swigobj) (_swigobj->GetFaceName())
343 static PyObject
*_wrap_wxNativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
346 wxNativeFontInfo
* _arg0
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFaceName",_kwnames
,&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFaceName. Expected _wxNativeFontInfo_p.");
361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
362 _result
= new wxString (wxNativeFontInfo_GetFaceName(_arg0
));
364 wxPyEndAllowThreads(__tstate
);
365 if (PyErr_Occurred()) return NULL
;
368 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
370 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
379 #define wxNativeFontInfo_GetFamily(_swigobj) (_swigobj->GetFamily())
380 static PyObject
*_wrap_wxNativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
382 wxFontFamily _result
;
383 wxNativeFontInfo
* _arg0
;
384 PyObject
* _argo0
= 0;
385 char *_kwnames
[] = { "self", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetFamily",_kwnames
,&_argo0
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetFamily. Expected _wxNativeFontInfo_p.");
398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
399 _result
= (wxFontFamily
)wxNativeFontInfo_GetFamily(_arg0
);
401 wxPyEndAllowThreads(__tstate
);
402 if (PyErr_Occurred()) return NULL
;
403 } _resultobj
= Py_BuildValue("i",_result
);
407 #define wxNativeFontInfo_GetEncoding(_swigobj) (_swigobj->GetEncoding())
408 static PyObject
*_wrap_wxNativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
410 wxFontEncoding _result
;
411 wxNativeFontInfo
* _arg0
;
412 PyObject
* _argo0
= 0;
413 char *_kwnames
[] = { "self", NULL
};
416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_GetEncoding",_kwnames
,&_argo0
))
419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_GetEncoding. Expected _wxNativeFontInfo_p.");
426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
427 _result
= (wxFontEncoding
)wxNativeFontInfo_GetEncoding(_arg0
);
429 wxPyEndAllowThreads(__tstate
);
430 if (PyErr_Occurred()) return NULL
;
431 } _resultobj
= Py_BuildValue("i",_result
);
435 #define wxNativeFontInfo_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
436 static PyObject
*_wrap_wxNativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
438 wxNativeFontInfo
* _arg0
;
440 PyObject
* _argo0
= 0;
441 char *_kwnames
[] = { "self","pointsize", NULL
};
444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetPointSize. Expected _wxNativeFontInfo_p.");
454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
455 wxNativeFontInfo_SetPointSize(_arg0
,_arg1
);
457 wxPyEndAllowThreads(__tstate
);
458 if (PyErr_Occurred()) return NULL
;
459 } Py_INCREF(Py_None
);
460 _resultobj
= Py_None
;
464 #define wxNativeFontInfo_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
465 static PyObject
*_wrap_wxNativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
467 wxNativeFontInfo
* _arg0
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self","style", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetStyle",_kwnames
,&_argo0
,&_arg1
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetStyle. Expected _wxNativeFontInfo_p.");
483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
484 wxNativeFontInfo_SetStyle(_arg0
,_arg1
);
486 wxPyEndAllowThreads(__tstate
);
487 if (PyErr_Occurred()) return NULL
;
488 } Py_INCREF(Py_None
);
489 _resultobj
= Py_None
;
493 #define wxNativeFontInfo_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
494 static PyObject
*_wrap_wxNativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
496 wxNativeFontInfo
* _arg0
;
498 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "self","weight", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetWeight",_kwnames
,&_argo0
,&_arg1
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetWeight. Expected _wxNativeFontInfo_p.");
512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
513 wxNativeFontInfo_SetWeight(_arg0
,_arg1
);
515 wxPyEndAllowThreads(__tstate
);
516 if (PyErr_Occurred()) return NULL
;
517 } Py_INCREF(Py_None
);
518 _resultobj
= Py_None
;
522 #define wxNativeFontInfo_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
523 static PyObject
*_wrap_wxNativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxNativeFontInfo
* _arg0
;
527 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self","underlined", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetUnderlined. Expected _wxNativeFontInfo_p.");
541 _arg1
= (bool ) tempbool1
;
543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
544 wxNativeFontInfo_SetUnderlined(_arg0
,_arg1
);
546 wxPyEndAllowThreads(__tstate
);
547 if (PyErr_Occurred()) return NULL
;
548 } Py_INCREF(Py_None
);
549 _resultobj
= Py_None
;
553 #define wxNativeFontInfo_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
554 static PyObject
*_wrap_wxNativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxNativeFontInfo
* _arg0
;
558 PyObject
* _argo0
= 0;
559 PyObject
* _obj1
= 0;
560 char *_kwnames
[] = { "self","facename", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFaceName. Expected _wxNativeFontInfo_p.");
573 _arg1
= wxString_in_helper(_obj1
);
578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
579 wxNativeFontInfo_SetFaceName(_arg0
,*_arg1
);
581 wxPyEndAllowThreads(__tstate
);
582 if (PyErr_Occurred()) return NULL
;
583 } Py_INCREF(Py_None
);
584 _resultobj
= Py_None
;
592 #define wxNativeFontInfo_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
593 static PyObject
*_wrap_wxNativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
595 wxNativeFontInfo
* _arg0
;
597 PyObject
* _argo0
= 0;
598 char *_kwnames
[] = { "self","family", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetFamily",_kwnames
,&_argo0
,&_arg1
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetFamily. Expected _wxNativeFontInfo_p.");
611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
612 wxNativeFontInfo_SetFamily(_arg0
,_arg1
);
614 wxPyEndAllowThreads(__tstate
);
615 if (PyErr_Occurred()) return NULL
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 #define wxNativeFontInfo_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
622 static PyObject
*_wrap_wxNativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
624 wxNativeFontInfo
* _arg0
;
625 wxFontEncoding _arg1
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self","encoding", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxNativeFontInfo_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_SetEncoding. Expected _wxNativeFontInfo_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 wxNativeFontInfo_SetEncoding(_arg0
,_arg1
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 #define wxNativeFontInfo_FromString(_swigobj,_swigarg0) (_swigobj->FromString(_swigarg0))
651 static PyObject
*_wrap_wxNativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
654 wxNativeFontInfo
* _arg0
;
656 PyObject
* _argo0
= 0;
657 PyObject
* _obj1
= 0;
658 char *_kwnames
[] = { "self","s", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromString",_kwnames
,&_argo0
,&_obj1
))
664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromString. Expected _wxNativeFontInfo_p.");
671 _arg1
= wxString_in_helper(_obj1
);
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 _result
= (bool )wxNativeFontInfo_FromString(_arg0
,*_arg1
);
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) return NULL
;
681 } _resultobj
= Py_BuildValue("i",_result
);
689 #define wxNativeFontInfo_ToString(_swigobj) (_swigobj->ToString())
690 static PyObject
*_wrap_wxNativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 wxNativeFontInfo
* _arg0
;
694 PyObject
* _argo0
= 0;
695 char *_kwnames
[] = { "self", NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToString",_kwnames
,&_argo0
))
701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToString. Expected _wxNativeFontInfo_p.");
708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
709 _result
= new wxString (wxNativeFontInfo_ToString(_arg0
));
711 wxPyEndAllowThreads(__tstate
);
712 if (PyErr_Occurred()) return NULL
;
715 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
717 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
726 static wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
) {
727 return self
->ToString();
729 static PyObject
*_wrap_wxNativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
732 wxNativeFontInfo
* _arg0
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo___str__",_kwnames
,&_argo0
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo___str__. Expected _wxNativeFontInfo_p.");
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 _result
= new wxString (wxNativeFontInfo___str__(_arg0
));
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
754 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
756 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
765 #define wxNativeFontInfo_FromUserString(_swigobj,_swigarg0) (_swigobj->FromUserString(_swigarg0))
766 static PyObject
*_wrap_wxNativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
769 wxNativeFontInfo
* _arg0
;
771 PyObject
* _argo0
= 0;
772 PyObject
* _obj1
= 0;
773 char *_kwnames
[] = { "self","s", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxNativeFontInfo_FromUserString",_kwnames
,&_argo0
,&_obj1
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_FromUserString. Expected _wxNativeFontInfo_p.");
786 _arg1
= wxString_in_helper(_obj1
);
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
792 _result
= (bool )wxNativeFontInfo_FromUserString(_arg0
,*_arg1
);
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) return NULL
;
796 } _resultobj
= Py_BuildValue("i",_result
);
804 #define wxNativeFontInfo_ToUserString(_swigobj) (_swigobj->ToUserString())
805 static PyObject
*_wrap_wxNativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
808 wxNativeFontInfo
* _arg0
;
809 PyObject
* _argo0
= 0;
810 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNativeFontInfo_ToUserString",_kwnames
,&_argo0
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNativeFontInfo_ToUserString. Expected _wxNativeFontInfo_p.");
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 _result
= new wxString (wxNativeFontInfo_ToUserString(_arg0
));
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) return NULL
;
830 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
832 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
841 #define new_wxFontMapper() (new wxFontMapper())
842 static PyObject
*_wrap_new_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
844 wxFontMapper
* _result
;
845 char *_kwnames
[] = { NULL
};
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontMapper",_kwnames
))
852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
853 _result
= (wxFontMapper
*)new_wxFontMapper();
855 wxPyEndAllowThreads(__tstate
);
856 if (PyErr_Occurred()) return NULL
;
858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
859 _resultobj
= Py_BuildValue("s",_ptemp
);
862 _resultobj
= Py_None
;
867 #define delete_wxFontMapper(_swigobj) (delete _swigobj)
868 static PyObject
*_wrap_delete_wxFontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
870 wxFontMapper
* _arg0
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontMapper",_kwnames
,&_argo0
))
878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontMapper. Expected _wxFontMapper_p.");
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 delete_wxFontMapper(_arg0
);
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) return NULL
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
895 static PyObject
*_wrap_wxFontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
897 wxFontMapper
* _result
;
898 char *_kwnames
[] = { NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_Get",_kwnames
))
905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
906 _result
= (wxFontMapper
*)wxFontMapper::Get();
908 wxPyEndAllowThreads(__tstate
);
909 if (PyErr_Occurred()) return NULL
;
911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
912 _resultobj
= Py_BuildValue("s",_ptemp
);
915 _resultobj
= Py_None
;
920 static PyObject
*_wrap_wxFontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
922 wxFontMapper
* _result
;
923 wxFontMapper
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "mapper", NULL
};
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontMapper_Set",_kwnames
,&_argo0
))
932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_Set. Expected _wxFontMapper_p.");
939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
940 _result
= (wxFontMapper
*)wxFontMapper::Set(_arg0
);
942 wxPyEndAllowThreads(__tstate
);
943 if (PyErr_Occurred()) return NULL
;
945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFontMapper_p");
946 _resultobj
= Py_BuildValue("s",_ptemp
);
949 _resultobj
= Py_None
;
954 static PyObject
* wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,const wxString
& facename
,bool interactive
) {
955 wxFontEncoding alt_enc
;
956 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
957 return PyInt_FromLong(alt_enc
);
963 static PyObject
*_wrap_wxFontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
966 wxFontMapper
* _arg0
;
967 wxFontEncoding _arg1
;
968 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
969 bool _arg3
= (bool ) TRUE
;
970 PyObject
* _argo0
= 0;
971 PyObject
* _obj2
= 0;
972 int tempbool3
= (int) TRUE
;
973 char *_kwnames
[] = { "self","encoding","facename","interactive", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|Oi:wxFontMapper_GetAltForEncoding",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&tempbool3
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_GetAltForEncoding. Expected _wxFontMapper_p.");
987 _arg2
= wxString_in_helper(_obj2
);
991 _arg3
= (bool ) tempbool3
;
993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
994 _result
= (PyObject
*)wxFontMapper_GetAltForEncoding(_arg0
,_arg1
,*_arg2
,_arg3
);
996 wxPyEndAllowThreads(__tstate
);
997 if (PyErr_Occurred()) return NULL
;
999 _resultobj
= _result
;
1008 #define wxFontMapper_IsEncodingAvailable(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEncodingAvailable(_swigarg0,_swigarg1))
1009 static PyObject
*_wrap_wxFontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
* _resultobj
;
1012 wxFontMapper
* _arg0
;
1013 wxFontEncoding _arg1
;
1014 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
1015 PyObject
* _argo0
= 0;
1016 PyObject
* _obj2
= 0;
1017 char *_kwnames
[] = { "self","encoding","facename", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxFontMapper_IsEncodingAvailable",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_IsEncodingAvailable. Expected _wxFontMapper_p.");
1031 _arg2
= wxString_in_helper(_obj2
);
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 _result
= (bool )wxFontMapper_IsEncodingAvailable(_arg0
,_arg1
,*_arg2
);
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) return NULL
;
1041 } _resultobj
= Py_BuildValue("i",_result
);
1049 #define wxFontMapper_CharsetToEncoding(_swigobj,_swigarg0,_swigarg1) (_swigobj->CharsetToEncoding(_swigarg0,_swigarg1))
1050 static PyObject
*_wrap_wxFontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1052 wxFontEncoding _result
;
1053 wxFontMapper
* _arg0
;
1055 bool _arg2
= (bool ) TRUE
;
1056 PyObject
* _argo0
= 0;
1057 PyObject
* _obj1
= 0;
1058 int tempbool2
= (int) TRUE
;
1059 char *_kwnames
[] = { "self","charset","interactive", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFontMapper_CharsetToEncoding",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_CharsetToEncoding. Expected _wxFontMapper_p.");
1072 _arg1
= wxString_in_helper(_obj1
);
1076 _arg2
= (bool ) tempbool2
;
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 _result
= (wxFontEncoding
)wxFontMapper_CharsetToEncoding(_arg0
,*_arg1
,_arg2
);
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) return NULL
;
1083 } _resultobj
= Py_BuildValue("i",_result
);
1091 static PyObject
*_wrap_wxFontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1094 wxFontEncoding _arg0
;
1095 char *_kwnames
[] = { "encoding", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingName",_kwnames
,&_arg0
))
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 _result
= new wxString (wxFontMapper::GetEncodingName(_arg0
));
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1108 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1110 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1119 static PyObject
*_wrap_wxFontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1122 wxFontEncoding _arg0
;
1123 char *_kwnames
[] = { "encoding", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFontMapper_GetEncodingDescription",_kwnames
,&_arg0
))
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 _result
= new wxString (wxFontMapper::GetEncodingDescription(_arg0
));
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) return NULL
;
1136 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1138 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1147 #define wxFontMapper_SetDialogParent(_swigobj,_swigarg0) (_swigobj->SetDialogParent(_swigarg0))
1148 static PyObject
*_wrap_wxFontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxFontMapper
* _arg0
;
1152 PyObject
* _argo0
= 0;
1153 PyObject
* _argo1
= 0;
1154 char *_kwnames
[] = { "self","parent", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogParent",_kwnames
,&_argo0
,&_argo1
))
1160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogParent. Expected _wxFontMapper_p.");
1167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetDialogParent. Expected _wxWindow_p.");
1174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1175 wxFontMapper_SetDialogParent(_arg0
,_arg1
);
1177 wxPyEndAllowThreads(__tstate
);
1178 if (PyErr_Occurred()) return NULL
;
1179 } Py_INCREF(Py_None
);
1180 _resultobj
= Py_None
;
1184 #define wxFontMapper_SetDialogTitle(_swigobj,_swigarg0) (_swigobj->SetDialogTitle(_swigarg0))
1185 static PyObject
*_wrap_wxFontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1187 wxFontMapper
* _arg0
;
1189 PyObject
* _argo0
= 0;
1190 PyObject
* _obj1
= 0;
1191 char *_kwnames
[] = { "self","title", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetDialogTitle",_kwnames
,&_argo0
,&_obj1
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetDialogTitle. Expected _wxFontMapper_p.");
1204 _arg1
= wxString_in_helper(_obj1
);
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 wxFontMapper_SetDialogTitle(_arg0
,*_arg1
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1214 } Py_INCREF(Py_None
);
1215 _resultobj
= Py_None
;
1223 #define wxFontMapper_SetConfig(_swigobj,_swigarg0) (_swigobj->SetConfig(_swigarg0))
1224 static PyObject
*_wrap_wxFontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1226 wxFontMapper
* _arg0
;
1227 wxConfigBase
* _arg1
;
1228 PyObject
* _argo0
= 0;
1229 PyObject
* _argo1
= 0;
1230 char *_kwnames
[] = { "self","config", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfig",_kwnames
,&_argo0
,&_argo1
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfig. Expected _wxFontMapper_p.");
1243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontMapper_SetConfig. Expected _wxConfigBase_p.");
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 wxFontMapper_SetConfig(_arg0
,_arg1
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) return NULL
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1260 #define wxFontMapper_SetConfigPath(_swigobj,_swigarg0) (_swigobj->SetConfigPath(_swigarg0))
1261 static PyObject
*_wrap_wxFontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1263 wxFontMapper
* _arg0
;
1265 PyObject
* _argo0
= 0;
1266 PyObject
* _obj1
= 0;
1267 char *_kwnames
[] = { "self","prefix", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontMapper_SetConfigPath",_kwnames
,&_argo0
,&_obj1
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontMapper_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontMapper_SetConfigPath. Expected _wxFontMapper_p.");
1280 _arg1
= wxString_in_helper(_obj1
);
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 wxFontMapper_SetConfigPath(_arg0
,*_arg1
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) return NULL
;
1290 } Py_INCREF(Py_None
);
1291 _resultobj
= Py_None
;
1299 static PyObject
*_wrap_wxFontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1302 char *_kwnames
[] = { NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFontMapper_GetDefaultConfigPath",_kwnames
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 _result
= new wxString (wxFontMapper::GetDefaultConfigPath());
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1315 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1317 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1326 static void *SwigwxFontTowxObject(void *ptr
) {
1329 src
= (wxFont
*) ptr
;
1330 dest
= (wxObject
*) src
;
1331 return (void *) dest
;
1334 #define new_wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1335 static PyObject
*_wrap_new_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1342 int _arg4
= (int ) FALSE
;
1343 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
1344 wxFontEncoding _arg6
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
1345 PyObject
* _obj5
= 0;
1346 char *_kwnames
[] = { "pointSize","family","style","weight","underline","faceName","encoding", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiii|iOi:new_wxFont",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_arg6
))
1354 _arg5
= wxString_in_helper(_obj5
);
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 _result
= (wxFont
*)new_wxFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1366 _resultobj
= Py_BuildValue("s",_ptemp
);
1369 _resultobj
= Py_None
;
1378 #define new_wxFontFromNativeInfo(_swigarg0) (new wxFont(_swigarg0))
1379 static PyObject
*_wrap_new_wxFontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1382 wxNativeFontInfo
* _arg0
;
1383 PyObject
* _argo0
= 0;
1384 char *_kwnames
[] = { "info", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFontFromNativeInfo",_kwnames
,&_argo0
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNativeFontInfo_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFontFromNativeInfo. Expected _wxNativeFontInfo_p.");
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 _result
= (wxFont
*)new_wxFontFromNativeInfo(*_arg0
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) return NULL
;
1404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1405 _resultobj
= Py_BuildValue("s",_ptemp
);
1408 _resultobj
= Py_None
;
1413 #define delete_wxFont(_swigobj) (delete _swigobj)
1414 static PyObject
*_wrap_delete_wxFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1417 PyObject
* _argo0
= 0;
1418 char *_kwnames
[] = { "self", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFont",_kwnames
,&_argo0
))
1424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFont. Expected _wxFont_p.");
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 delete_wxFont(_arg0
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) return NULL
;
1436 } Py_INCREF(Py_None
);
1437 _resultobj
= Py_None
;
1441 #define wxFont_Ok(_swigobj) (_swigobj->Ok())
1442 static PyObject
*_wrap_wxFont_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_Ok",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_Ok. Expected _wxFont_p.");
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 _result
= (bool )wxFont_Ok(_arg0
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 } _resultobj
= Py_BuildValue("i",_result
);
1469 #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize())
1470 static PyObject
*_wrap_wxFont_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetPointSize",_kwnames
,&_argo0
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetPointSize. Expected _wxFont_p.");
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (int )wxFont_GetPointSize(_arg0
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 } _resultobj
= Py_BuildValue("i",_result
);
1497 #define wxFont_GetFamily(_swigobj) (_swigobj->GetFamily())
1498 static PyObject
*_wrap_wxFont_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1502 PyObject
* _argo0
= 0;
1503 char *_kwnames
[] = { "self", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamily",_kwnames
,&_argo0
))
1509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamily. Expected _wxFont_p.");
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 _result
= (int )wxFont_GetFamily(_arg0
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) return NULL
;
1521 } _resultobj
= Py_BuildValue("i",_result
);
1525 #define wxFont_GetStyle(_swigobj) (_swigobj->GetStyle())
1526 static PyObject
*_wrap_wxFont_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyle",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyle. Expected _wxFont_p.");
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 _result
= (int )wxFont_GetStyle(_arg0
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } _resultobj
= Py_BuildValue("i",_result
);
1553 #define wxFont_GetWeight(_swigobj) (_swigobj->GetWeight())
1554 static PyObject
*_wrap_wxFont_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeight",_kwnames
,&_argo0
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeight. Expected _wxFont_p.");
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 _result
= (int )wxFont_GetWeight(_arg0
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } _resultobj
= Py_BuildValue("i",_result
);
1581 #define wxFont_GetUnderlined(_swigobj) (_swigobj->GetUnderlined())
1582 static PyObject
*_wrap_wxFont_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1586 PyObject
* _argo0
= 0;
1587 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetUnderlined",_kwnames
,&_argo0
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetUnderlined. Expected _wxFont_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 _result
= (bool )wxFont_GetUnderlined(_arg0
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1605 } _resultobj
= Py_BuildValue("i",_result
);
1609 #define wxFont_GetFaceName(_swigobj) (_swigobj->GetFaceName())
1610 static PyObject
*_wrap_wxFont_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1614 PyObject
* _argo0
= 0;
1615 char *_kwnames
[] = { "self", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFaceName",_kwnames
,&_argo0
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFaceName. Expected _wxFont_p.");
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 _result
= new wxString (wxFont_GetFaceName(_arg0
));
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) return NULL
;
1635 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1637 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1646 #define wxFont_GetEncoding(_swigobj) (_swigobj->GetEncoding())
1647 static PyObject
*_wrap_wxFont_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1649 wxFontEncoding _result
;
1651 PyObject
* _argo0
= 0;
1652 char *_kwnames
[] = { "self", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetEncoding",_kwnames
,&_argo0
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetEncoding. Expected _wxFont_p.");
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 _result
= (wxFontEncoding
)wxFont_GetEncoding(_arg0
);
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) return NULL
;
1670 } _resultobj
= Py_BuildValue("i",_result
);
1674 #define wxFont_IsFixedWidth(_swigobj) (_swigobj->IsFixedWidth())
1675 static PyObject
*_wrap_wxFont_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1679 PyObject
* _argo0
= 0;
1680 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_IsFixedWidth",_kwnames
,&_argo0
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_IsFixedWidth. Expected _wxFont_p.");
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (bool )wxFont_IsFixedWidth(_arg0
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1698 } _resultobj
= Py_BuildValue("i",_result
);
1702 #define wxFont_GetNativeFontInfo(_swigobj) (_swigobj->GetNativeFontInfo())
1703 static PyObject
*_wrap_wxFont_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 wxNativeFontInfo
* _result
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "self", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfo",_kwnames
,&_argo0
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfo. Expected _wxFont_p.");
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 _result
= (wxNativeFontInfo
*)wxFont_GetNativeFontInfo(_arg0
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) return NULL
;
1728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNativeFontInfo_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1732 _resultobj
= Py_None
;
1737 #define wxFont_GetNativeFontInfoDesc(_swigobj) (_swigobj->GetNativeFontInfoDesc())
1738 static PyObject
*_wrap_wxFont_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoDesc",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoDesc. Expected _wxFont_p.");
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 _result
= new wxString (wxFont_GetNativeFontInfoDesc(_arg0
));
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1763 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1765 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1774 #define wxFont_GetNativeFontInfoUserDesc(_swigobj) (_swigobj->GetNativeFontInfoUserDesc())
1775 static PyObject
*_wrap_wxFont_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1779 PyObject
* _argo0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetNativeFontInfoUserDesc",_kwnames
,&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetNativeFontInfoUserDesc. Expected _wxFont_p.");
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 _result
= new wxString (wxFont_GetNativeFontInfoUserDesc(_arg0
));
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) return NULL
;
1800 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1802 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1811 #define wxFont_SetPointSize(_swigobj,_swigarg0) (_swigobj->SetPointSize(_swigarg0))
1812 static PyObject
*_wrap_wxFont_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self","pointSize", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetPointSize",_kwnames
,&_argo0
,&_arg1
))
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_SetPointSize. Expected _wxFont_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxFont_SetPointSize(_arg0
,_arg1
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } Py_INCREF(Py_None
);
1836 _resultobj
= Py_None
;
1840 #define wxFont_SetFamily(_swigobj,_swigarg0) (_swigobj->SetFamily(_swigarg0))
1841 static PyObject
*_wrap_wxFont_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1845 PyObject
* _argo0
= 0;
1846 char *_kwnames
[] = { "self","family", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetFamily",_kwnames
,&_argo0
,&_arg1
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFamily. Expected _wxFont_p.");
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 wxFont_SetFamily(_arg0
,_arg1
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1869 #define wxFont_SetStyle(_swigobj,_swigarg0) (_swigobj->SetStyle(_swigarg0))
1870 static PyObject
*_wrap_wxFont_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self","style", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetStyle",_kwnames
,&_argo0
,&_arg1
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetStyle. Expected _wxFont_p.");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 wxFont_SetStyle(_arg0
,_arg1
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1893 } Py_INCREF(Py_None
);
1894 _resultobj
= Py_None
;
1898 #define wxFont_SetWeight(_swigobj,_swigarg0) (_swigobj->SetWeight(_swigarg0))
1899 static PyObject
*_wrap_wxFont_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self","weight", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetWeight",_kwnames
,&_argo0
,&_arg1
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetWeight. Expected _wxFont_p.");
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 wxFont_SetWeight(_arg0
,_arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) return NULL
;
1922 } Py_INCREF(Py_None
);
1923 _resultobj
= Py_None
;
1927 #define wxFont_SetFaceName(_swigobj,_swigarg0) (_swigobj->SetFaceName(_swigarg0))
1928 static PyObject
*_wrap_wxFont_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 PyObject
* _obj1
= 0;
1934 char *_kwnames
[] = { "self","faceName", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetFaceName",_kwnames
,&_argo0
,&_obj1
))
1940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetFaceName. Expected _wxFont_p.");
1947 _arg1
= wxString_in_helper(_obj1
);
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 wxFont_SetFaceName(_arg0
,*_arg1
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) return NULL
;
1957 } Py_INCREF(Py_None
);
1958 _resultobj
= Py_None
;
1966 #define wxFont_SetUnderlined(_swigobj,_swigarg0) (_swigobj->SetUnderlined(_swigarg0))
1967 static PyObject
*_wrap_wxFont_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1971 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self","underlined", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetUnderlined",_kwnames
,&_argo0
,&tempbool1
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetUnderlined. Expected _wxFont_p.");
1985 _arg1
= (bool ) tempbool1
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 wxFont_SetUnderlined(_arg0
,_arg1
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } Py_INCREF(Py_None
);
1993 _resultobj
= Py_None
;
1997 #define wxFont_SetEncoding(_swigobj,_swigarg0) (_swigobj->SetEncoding(_swigarg0))
1998 static PyObject
*_wrap_wxFont_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2001 wxFontEncoding _arg1
;
2002 PyObject
* _argo0
= 0;
2003 char *_kwnames
[] = { "self","encoding", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFont_SetEncoding",_kwnames
,&_argo0
,&_arg1
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetEncoding. Expected _wxFont_p.");
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 wxFont_SetEncoding(_arg0
,_arg1
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2026 #define wxFont_SetNativeFontInfo(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfo(_swigarg0))
2027 static PyObject
*_wrap_wxFont_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxNativeFontInfo
* _arg1
;
2031 PyObject
* _argo0
= 0;
2032 PyObject
* _argo1
= 0;
2033 char *_kwnames
[] = { "self","info", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfo",_kwnames
,&_argo0
,&_argo1
))
2039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfo. Expected _wxFont_p.");
2046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxNativeFontInfo_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFont_SetNativeFontInfo. Expected _wxNativeFontInfo_p.");
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 wxFont_SetNativeFontInfo(_arg0
,*_arg1
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 #define wxFont_SetNativeFontInfoUserDesc(_swigobj,_swigarg0) (_swigobj->SetNativeFontInfoUserDesc(_swigarg0))
2064 static PyObject
*_wrap_wxFont_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2068 PyObject
* _argo0
= 0;
2069 PyObject
* _obj1
= 0;
2070 char *_kwnames
[] = { "self","info", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFont_SetNativeFontInfoUserDesc",_kwnames
,&_argo0
,&_obj1
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_SetNativeFontInfoUserDesc. Expected _wxFont_p.");
2083 _arg1
= wxString_in_helper(_obj1
);
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 wxFont_SetNativeFontInfoUserDesc(_arg0
,*_arg1
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) return NULL
;
2093 } Py_INCREF(Py_None
);
2094 _resultobj
= Py_None
;
2102 #define wxFont_GetFamilyString(_swigobj) (_swigobj->GetFamilyString())
2103 static PyObject
*_wrap_wxFont_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2107 PyObject
* _argo0
= 0;
2108 char *_kwnames
[] = { "self", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetFamilyString",_kwnames
,&_argo0
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetFamilyString. Expected _wxFont_p.");
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 _result
= new wxString (wxFont_GetFamilyString(_arg0
));
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2128 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2130 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2139 #define wxFont_GetStyleString(_swigobj) (_swigobj->GetStyleString())
2140 static PyObject
*_wrap_wxFont_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2144 PyObject
* _argo0
= 0;
2145 char *_kwnames
[] = { "self", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetStyleString",_kwnames
,&_argo0
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetStyleString. Expected _wxFont_p.");
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 _result
= new wxString (wxFont_GetStyleString(_arg0
));
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2165 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2167 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2176 #define wxFont_GetWeightString(_swigobj) (_swigobj->GetWeightString())
2177 static PyObject
*_wrap_wxFont_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2181 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "self", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFont_GetWeightString",_kwnames
,&_argo0
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFont_GetWeightString. Expected _wxFont_p.");
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 _result
= new wxString (wxFont_GetWeightString(_arg0
));
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) return NULL
;
2202 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2204 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2213 static PyObject
*_wrap_wxFont_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2215 wxFontEncoding _result
;
2216 char *_kwnames
[] = { NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFont_GetDefaultEncoding",_kwnames
))
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 _result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2227 } _resultobj
= Py_BuildValue("i",_result
);
2231 static PyObject
*_wrap_wxFont_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2233 wxFontEncoding _arg0
;
2234 char *_kwnames
[] = { "encoding", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxFont_SetDefaultEncoding",_kwnames
,&_arg0
))
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 wxFont::SetDefaultEncoding(_arg0
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) return NULL
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 static void *SwigwxFontListTowxObject(void *ptr
) {
2253 src
= (wxFontList
*) ptr
;
2254 dest
= (wxObject
*) src
;
2255 return (void *) dest
;
2258 #define wxFontList_AddFont(_swigobj,_swigarg0) (_swigobj->AddFont(_swigarg0))
2259 static PyObject
*_wrap_wxFontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2263 PyObject
* _argo0
= 0;
2264 PyObject
* _argo1
= 0;
2265 char *_kwnames
[] = { "self","font", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_AddFont",_kwnames
,&_argo0
,&_argo1
))
2271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_AddFont. Expected _wxFontList_p.");
2278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_AddFont. Expected _wxFont_p.");
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 wxFontList_AddFont(_arg0
,_arg1
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 } Py_INCREF(Py_None
);
2291 _resultobj
= Py_None
;
2295 #define wxFontList_FindOrCreateFont(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FindOrCreateFont(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2296 static PyObject
*_wrap_wxFontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2304 bool _arg5
= (bool ) FALSE
;
2305 wxString
* _arg6
= (wxString
*) &wxPyEmptyString
;
2306 wxFontEncoding _arg7
= (wxFontEncoding
) (wxFONTENCODING_DEFAULT
);
2307 PyObject
* _argo0
= 0;
2308 int tempbool5
= (int) FALSE
;
2309 PyObject
* _obj6
= 0;
2310 char *_kwnames
[] = { "self","point_size","family","style","weight","underline","facename","encoding", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iOi:wxFontList_FindOrCreateFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
,&_obj6
,&_arg7
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_FindOrCreateFont. Expected _wxFontList_p.");
2323 _arg5
= (bool ) tempbool5
;
2326 _arg6
= wxString_in_helper(_obj6
);
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (wxFont
*)wxFontList_FindOrCreateFont(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,_arg7
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2338 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 _resultobj
= Py_None
;
2350 #define wxFontList_RemoveFont(_swigobj,_swigarg0) (_swigobj->RemoveFont(_swigarg0))
2351 static PyObject
*_wrap_wxFontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2355 PyObject
* _argo0
= 0;
2356 PyObject
* _argo1
= 0;
2357 char *_kwnames
[] = { "self","font", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontList_RemoveFont",_kwnames
,&_argo0
,&_argo1
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_RemoveFont. Expected _wxFontList_p.");
2370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFontList_RemoveFont. Expected _wxFont_p.");
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 wxFontList_RemoveFont(_arg0
,_arg1
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2382 } Py_INCREF(Py_None
);
2383 _resultobj
= Py_None
;
2387 #define wxFontList_GetCount(_swigobj) (_swigobj->GetCount())
2388 static PyObject
*_wrap_wxFontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2392 PyObject
* _argo0
= 0;
2393 char *_kwnames
[] = { "self", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontList_GetCount",_kwnames
,&_argo0
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFontList_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontList_GetCount. Expected _wxFontList_p.");
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 _result
= (int )wxFontList_GetCount(_arg0
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) return NULL
;
2411 } _resultobj
= Py_BuildValue("i",_result
);
2415 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2416 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2418 wxPyFontEnumerator
* _result
;
2419 char *_kwnames
[] = { NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2433 _resultobj
= Py_BuildValue("s",_ptemp
);
2436 _resultobj
= Py_None
;
2441 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2442 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2444 wxPyFontEnumerator
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 delete_wxPyFontEnumerator(_arg0
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2470 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2472 wxPyFontEnumerator
* _arg0
;
2476 PyObject
* _argo0
= 0;
2477 PyObject
* _obj1
= 0;
2478 PyObject
* _obj2
= 0;
2480 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2498 _arg3
= (bool ) tempbool3
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) return NULL
;
2505 } Py_INCREF(Py_None
);
2506 _resultobj
= Py_None
;
2510 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2511 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2514 wxPyFontEnumerator
* _arg0
;
2515 wxFontEncoding _arg1
= (wxFontEncoding
) (wxFONTENCODING_SYSTEM
);
2516 bool _arg2
= (bool ) FALSE
;
2517 PyObject
* _argo0
= 0;
2518 int tempbool2
= (int) FALSE
;
2519 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2531 _arg2
= (bool ) tempbool2
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) return NULL
;
2538 } _resultobj
= Py_BuildValue("i",_result
);
2542 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2543 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2546 wxPyFontEnumerator
* _arg0
;
2547 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
2548 PyObject
* _argo0
= 0;
2549 PyObject
* _obj1
= 0;
2550 char *_kwnames
[] = { "self","facename", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_obj1
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2564 _arg1
= wxString_in_helper(_obj1
);
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,*_arg1
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } _resultobj
= Py_BuildValue("i",_result
);
2582 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2583 wxArrayString
* arr
= self
->GetEncodings();
2584 return wxArrayString2PyList_helper(*arr
);
2586 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2589 wxPyFontEnumerator
* _arg0
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2610 _resultobj
= _result
;
2615 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2616 wxArrayString
* arr
= self
->GetFacenames();
2617 return wxArrayString2PyList_helper(*arr
);
2619 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2622 wxPyFontEnumerator
* _arg0
;
2623 PyObject
* _argo0
= 0;
2624 char *_kwnames
[] = { "self", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) return NULL
;
2643 _resultobj
= _result
;
2648 #define wxLanguageInfo_Language_set(_swigobj,_swigval) (_swigobj->Language = _swigval,_swigval)
2649 static PyObject
*_wrap_wxLanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2652 wxLanguageInfo
* _arg0
;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self","Language", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLanguageInfo_Language_set",_kwnames
,&_argo0
,&_arg1
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_set. Expected _wxLanguageInfo_p.");
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 _result
= (int )wxLanguageInfo_Language_set(_arg0
,_arg1
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) return NULL
;
2673 } _resultobj
= Py_BuildValue("i",_result
);
2677 #define wxLanguageInfo_Language_get(_swigobj) ((int ) _swigobj->Language)
2678 static PyObject
*_wrap_wxLanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2681 wxLanguageInfo
* _arg0
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Language_get",_kwnames
,&_argo0
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Language_get. Expected _wxLanguageInfo_p.");
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 _result
= (int )wxLanguageInfo_Language_get(_arg0
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) return NULL
;
2701 } _resultobj
= Py_BuildValue("i",_result
);
2705 #define wxLanguageInfo_CanonicalName_set(_swigobj,_swigval) (_swigobj->CanonicalName = *(_swigval),_swigval)
2706 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2709 wxLanguageInfo
* _arg0
;
2711 PyObject
* _argo0
= 0;
2712 PyObject
* _obj1
= 0;
2713 char *_kwnames
[] = { "self","CanonicalName", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_CanonicalName_set",_kwnames
,&_argo0
,&_obj1
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_set. Expected _wxLanguageInfo_p.");
2726 _arg1
= wxString_in_helper(_obj1
);
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 _result
= (wxString
*)wxLanguageInfo_CanonicalName_set(_arg0
,_arg1
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) return NULL
;
2738 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2750 #define wxLanguageInfo_CanonicalName_get(_swigobj) (&_swigobj->CanonicalName)
2751 static PyObject
*_wrap_wxLanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2754 wxLanguageInfo
* _arg0
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_CanonicalName_get",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_CanonicalName_get. Expected _wxLanguageInfo_p.");
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 _result
= (wxString
*)wxLanguageInfo_CanonicalName_get(_arg0
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) return NULL
;
2776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2784 #define wxLanguageInfo_Description_set(_swigobj,_swigval) (_swigobj->Description = *(_swigval),_swigval)
2785 static PyObject
*_wrap_wxLanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 wxLanguageInfo
* _arg0
;
2790 PyObject
* _argo0
= 0;
2791 PyObject
* _obj1
= 0;
2792 char *_kwnames
[] = { "self","Description", NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLanguageInfo_Description_set",_kwnames
,&_argo0
,&_obj1
))
2798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_set. Expected _wxLanguageInfo_p.");
2805 _arg1
= wxString_in_helper(_obj1
);
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 _result
= (wxString
*)wxLanguageInfo_Description_set(_arg0
,_arg1
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2817 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2819 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2829 #define wxLanguageInfo_Description_get(_swigobj) (&_swigobj->Description)
2830 static PyObject
*_wrap_wxLanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxLanguageInfo
* _arg0
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLanguageInfo_Description_get",_kwnames
,&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLanguageInfo_Description_get. Expected _wxLanguageInfo_p.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (wxString
*)wxLanguageInfo_Description_get(_arg0
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2855 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2857 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2863 #define new_wxLocale(_swigarg0,_swigarg1) (new wxLocale(_swigarg0,_swigarg1))
2864 static PyObject
*_wrap_new_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2867 int _arg0
= (int ) (wxLANGUAGE_DEFAULT
);
2868 int _arg1
= (int ) (wxLOCALE_LOAD_DEFAULT
)|(wxLOCALE_CONV_ENCODING
);
2869 char *_kwnames
[] = { "language","flags", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxLocale",_kwnames
,&_arg0
,&_arg1
))
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (wxLocale
*)new_wxLocale(_arg0
,_arg1
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLocale_p");
2883 _resultobj
= Py_BuildValue("s",_ptemp
);
2886 _resultobj
= Py_None
;
2891 #define wxLocale_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2892 static PyObject
*_wrap_wxLocale_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2897 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2898 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2899 bool _arg4
= (bool ) TRUE
;
2900 bool _arg5
= (bool ) FALSE
;
2901 PyObject
* _argo0
= 0;
2902 PyObject
* _obj1
= 0;
2903 PyObject
* _obj2
= 0;
2904 PyObject
* _obj3
= 0;
2905 int tempbool4
= (int) TRUE
;
2906 int tempbool5
= (int) FALSE
;
2907 char *_kwnames
[] = { "self","szName","szShort","szLocale","bLoadDefault","bConvertEncoding", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OOii:wxLocale_Init",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&tempbool4
,&tempbool5
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_Init. Expected _wxLocale_p.");
2920 _arg1
= wxString_in_helper(_obj1
);
2926 _arg2
= wxString_in_helper(_obj2
);
2932 _arg3
= wxString_in_helper(_obj3
);
2936 _arg4
= (bool ) tempbool4
;
2937 _arg5
= (bool ) tempbool5
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 _result
= (bool )wxLocale_Init(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) return NULL
;
2944 } _resultobj
= Py_BuildValue("i",_result
);
2960 #define delete_wxLocale(_swigobj) (delete _swigobj)
2961 static PyObject
*_wrap_delete_wxLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLocale",_kwnames
,&_argo0
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLocale. Expected _wxLocale_p.");
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 delete_wxLocale(_arg0
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) return NULL
;
2983 } Py_INCREF(Py_None
);
2984 _resultobj
= Py_None
;
2988 static PyObject
*_wrap_wxLocale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2991 char *_kwnames
[] = { NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemLanguage",_kwnames
))
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 _result
= (int )wxLocale::GetSystemLanguage();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } _resultobj
= Py_BuildValue("i",_result
);
3006 static PyObject
*_wrap_wxLocale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3008 wxFontEncoding _result
;
3009 char *_kwnames
[] = { NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncoding",_kwnames
))
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 _result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) return NULL
;
3020 } _resultobj
= Py_BuildValue("i",_result
);
3024 static PyObject
*_wrap_wxLocale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3027 char *_kwnames
[] = { NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLocale_GetSystemEncodingName",_kwnames
))
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 _result
= new wxString (wxLocale::GetSystemEncodingName());
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) return NULL
;
3040 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3042 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3051 #define wxLocale_IsOk(_swigobj) (_swigobj->IsOk())
3052 static PyObject
*_wrap_wxLocale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_IsOk",_kwnames
,&_argo0
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsOk. Expected _wxLocale_p.");
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 _result
= (bool )wxLocale_IsOk(_arg0
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3075 } _resultobj
= Py_BuildValue("i",_result
);
3079 #define wxLocale_GetLocale(_swigobj) (_swigobj->GetLocale())
3080 static PyObject
*_wrap_wxLocale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLocale",_kwnames
,&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLocale. Expected _wxLocale_p.");
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 _result
= new wxString (wxLocale_GetLocale(_arg0
));
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) return NULL
;
3105 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3107 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3116 #define wxLocale_GetLanguage(_swigobj) (_swigobj->GetLanguage())
3117 static PyObject
*_wrap_wxLocale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
* _resultobj
;
3121 PyObject
* _argo0
= 0;
3122 char *_kwnames
[] = { "self", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetLanguage",_kwnames
,&_argo0
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetLanguage. Expected _wxLocale_p.");
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 _result
= (int )wxLocale_GetLanguage(_arg0
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) return NULL
;
3140 } _resultobj
= Py_BuildValue("i",_result
);
3144 #define wxLocale_GetSysName(_swigobj) (_swigobj->GetSysName())
3145 static PyObject
*_wrap_wxLocale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3149 PyObject
* _argo0
= 0;
3150 char *_kwnames
[] = { "self", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetSysName",_kwnames
,&_argo0
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetSysName. Expected _wxLocale_p.");
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 _result
= new wxString (wxLocale_GetSysName(_arg0
));
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) return NULL
;
3170 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3172 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3181 #define wxLocale_GetCanonicalName(_swigobj) (_swigobj->GetCanonicalName())
3182 static PyObject
*_wrap_wxLocale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3186 PyObject
* _argo0
= 0;
3187 char *_kwnames
[] = { "self", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetCanonicalName",_kwnames
,&_argo0
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetCanonicalName. Expected _wxLocale_p.");
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 _result
= new wxString (wxLocale_GetCanonicalName(_arg0
));
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) return NULL
;
3207 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3209 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3218 static PyObject
*_wrap_wxLocale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3221 PyObject
* _obj0
= 0;
3222 char *_kwnames
[] = { "prefix", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddCatalogLookupPathPrefix",_kwnames
,&_obj0
))
3228 _arg0
= wxString_in_helper(_obj0
);
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 wxLocale::AddCatalogLookupPathPrefix(*_arg0
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) return NULL
;
3238 } Py_INCREF(Py_None
);
3239 _resultobj
= Py_None
;
3247 #define wxLocale_AddCatalog(_swigobj,_swigarg0) (_swigobj->AddCatalog(_swigarg0))
3248 static PyObject
*_wrap_wxLocale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3253 PyObject
* _argo0
= 0;
3254 PyObject
* _obj1
= 0;
3255 char *_kwnames
[] = { "self","szDomain", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_AddCatalog",_kwnames
,&_argo0
,&_obj1
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddCatalog. Expected _wxLocale_p.");
3268 _arg1
= wxString_in_helper(_obj1
);
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 _result
= (bool )wxLocale_AddCatalog(_arg0
,*_arg1
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) return NULL
;
3278 } _resultobj
= Py_BuildValue("i",_result
);
3286 #define wxLocale_IsLoaded(_swigobj,_swigarg0) (_swigobj->IsLoaded(_swigarg0))
3287 static PyObject
*_wrap_wxLocale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 PyObject
* _obj1
= 0;
3294 char *_kwnames
[] = { "self","szDomain", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLocale_IsLoaded",_kwnames
,&_argo0
,&_obj1
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_IsLoaded. Expected _wxLocale_p.");
3307 _arg1
= wxString_in_helper(_obj1
);
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 _result
= (bool )wxLocale_IsLoaded(_arg0
,*_arg1
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) return NULL
;
3317 } _resultobj
= Py_BuildValue("i",_result
);
3325 static PyObject
*_wrap_wxLocale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3327 wxLanguageInfo
* _result
;
3329 char *_kwnames
[] = { "lang", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxLocale_GetLanguageInfo",_kwnames
,&_arg0
))
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 _result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(_arg0
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLanguageInfo_p");
3343 _resultobj
= Py_BuildValue("s",_ptemp
);
3346 _resultobj
= Py_None
;
3351 static PyObject
*_wrap_wxLocale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3353 wxLanguageInfo
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "info", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_AddLanguage",_kwnames
,&_argo0
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLanguageInfo_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_AddLanguage. Expected _wxLanguageInfo_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 wxLocale::AddLanguage(*_arg0
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3378 #define wxLocale_GetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetString(_swigarg0,_swigarg1))
3379 static PyObject
*_wrap_wxLocale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3384 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
3385 PyObject
* _argo0
= 0;
3386 PyObject
* _obj1
= 0;
3387 PyObject
* _obj2
= 0;
3388 char *_kwnames
[] = { "self","szOrigString","szDomain", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxLocale_GetString",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetString. Expected _wxLocale_p.");
3401 _arg1
= wxString_in_helper(_obj1
);
3407 _arg2
= wxString_in_helper(_obj2
);
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 _result
= new wxString (wxLocale_GetString(_arg0
,*_arg1
,*_arg2
));
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3419 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3421 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3438 #define wxLocale_GetName(_swigobj) (_swigobj->GetName())
3439 static PyObject
*_wrap_wxLocale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
* _resultobj
;
3443 PyObject
* _argo0
= 0;
3444 char *_kwnames
[] = { "self", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLocale_GetName",_kwnames
,&_argo0
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLocale_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLocale_GetName. Expected _wxLocale_p.");
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 const wxString
& _result_ref
= wxLocale_GetName(_arg0
);
3459 _result
= (wxString
*) &_result_ref
;
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) return NULL
;
3465 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3467 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3473 static void *SwigwxEncodingConverterTowxObject(void *ptr
) {
3474 wxEncodingConverter
*src
;
3476 src
= (wxEncodingConverter
*) ptr
;
3477 dest
= (wxObject
*) src
;
3478 return (void *) dest
;
3481 #define new_wxEncodingConverter() (new wxEncodingConverter())
3482 static PyObject
*_wrap_new_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3484 wxEncodingConverter
* _result
;
3485 char *_kwnames
[] = { NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEncodingConverter",_kwnames
))
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 _result
= (wxEncodingConverter
*)new_wxEncodingConverter();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEncodingConverter_p");
3499 _resultobj
= Py_BuildValue("s",_ptemp
);
3502 _resultobj
= Py_None
;
3507 #define delete_wxEncodingConverter(_swigobj) (delete _swigobj)
3508 static PyObject
*_wrap_delete_wxEncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxEncodingConverter
* _arg0
;
3511 PyObject
* _argo0
= 0;
3512 char *_kwnames
[] = { "self", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxEncodingConverter",_kwnames
,&_argo0
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxEncodingConverter. Expected _wxEncodingConverter_p.");
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 delete_wxEncodingConverter(_arg0
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) return NULL
;
3530 } Py_INCREF(Py_None
);
3531 _resultobj
= Py_None
;
3535 #define wxEncodingConverter_Init(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Init(_swigarg0,_swigarg1,_swigarg2))
3536 static PyObject
*_wrap_wxEncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxEncodingConverter
* _arg0
;
3540 wxFontEncoding _arg1
;
3541 wxFontEncoding _arg2
;
3542 int _arg3
= (int ) (wxCONVERT_STRICT
);
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self","input_enc","output_enc","method", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxEncodingConverter_Init",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Init. Expected _wxEncodingConverter_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (bool )wxEncodingConverter_Init(_arg0
,_arg1
,_arg2
,_arg3
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxEncodingConverter_Convert(_swigobj,_swigarg0) (_swigobj->Convert(_swigarg0))
3567 static PyObject
*_wrap_wxEncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3570 wxEncodingConverter
* _arg0
;
3572 PyObject
* _argo0
= 0;
3573 PyObject
* _obj1
= 0;
3574 char *_kwnames
[] = { "self","input", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEncodingConverter_Convert",_kwnames
,&_argo0
,&_obj1
))
3580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEncodingConverter_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEncodingConverter_Convert. Expected _wxEncodingConverter_p.");
3587 _arg1
= wxString_in_helper(_obj1
);
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 _result
= new wxString (wxEncodingConverter_Convert(_arg0
,*_arg1
));
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3599 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3601 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3614 static PyObject
*_wrap_wxEncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3616 wxFontEncodingArray
* _result
;
3617 wxFontEncoding _arg0
;
3618 int _arg1
= (int ) (wxPLATFORM_CURRENT
);
3619 char *_kwnames
[] = { "enc","platform", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxEncodingConverter_GetPlatformEquivalents",_kwnames
,&_arg0
,&_arg1
))
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 _result
= new wxFontEncodingArray (wxEncodingConverter::GetPlatformEquivalents(_arg0
,_arg1
));
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) return NULL
;
3631 _resultobj
= PyList_New(0);
3632 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3633 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3634 PyList_Append(_resultobj
, number
);
3641 static PyObject
*_wrap_wxEncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3643 wxFontEncodingArray
* _result
;
3644 wxFontEncoding _arg0
;
3645 char *_kwnames
[] = { "enc", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEncodingConverter_GetAllEquivalents",_kwnames
,&_arg0
))
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 _result
= new wxFontEncodingArray (wxEncodingConverter::GetAllEquivalents(_arg0
));
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3657 _resultobj
= PyList_New(0);
3658 for (size_t i
=0; i
< _result
->GetCount(); i
++) {
3659 PyObject
* number
= PyInt_FromLong(_result
->Item(i
));
3660 PyList_Append(_resultobj
, number
);
3667 static PyMethodDef fontscMethods
[] = {
3668 { "wxEncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3669 { "wxEncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_wxEncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
3670 { "wxEncodingConverter_Convert", (PyCFunction
) _wrap_wxEncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
3671 { "wxEncodingConverter_Init", (PyCFunction
) _wrap_wxEncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
3672 { "delete_wxEncodingConverter", (PyCFunction
) _wrap_delete_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3673 { "new_wxEncodingConverter", (PyCFunction
) _wrap_new_wxEncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
3674 { "wxLocale_GetName", (PyCFunction
) _wrap_wxLocale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
3675 { "wxLocale_GetString", (PyCFunction
) _wrap_wxLocale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
3676 { "wxLocale_AddLanguage", (PyCFunction
) _wrap_wxLocale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3677 { "wxLocale_GetLanguageInfo", (PyCFunction
) _wrap_wxLocale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
3678 { "wxLocale_IsLoaded", (PyCFunction
) _wrap_wxLocale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
3679 { "wxLocale_AddCatalog", (PyCFunction
) _wrap_wxLocale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
3680 { "wxLocale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_wxLocale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
3681 { "wxLocale_GetCanonicalName", (PyCFunction
) _wrap_wxLocale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
3682 { "wxLocale_GetSysName", (PyCFunction
) _wrap_wxLocale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
3683 { "wxLocale_GetLanguage", (PyCFunction
) _wrap_wxLocale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3684 { "wxLocale_GetLocale", (PyCFunction
) _wrap_wxLocale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3685 { "wxLocale_IsOk", (PyCFunction
) _wrap_wxLocale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
3686 { "wxLocale_GetSystemEncodingName", (PyCFunction
) _wrap_wxLocale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3687 { "wxLocale_GetSystemEncoding", (PyCFunction
) _wrap_wxLocale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3688 { "wxLocale_GetSystemLanguage", (PyCFunction
) _wrap_wxLocale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
3689 { "delete_wxLocale", (PyCFunction
) _wrap_delete_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3690 { "wxLocale_Init", (PyCFunction
) _wrap_wxLocale_Init
, METH_VARARGS
| METH_KEYWORDS
},
3691 { "new_wxLocale", (PyCFunction
) _wrap_new_wxLocale
, METH_VARARGS
| METH_KEYWORDS
},
3692 { "wxLanguageInfo_Description_get", (PyCFunction
) _wrap_wxLanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
3693 { "wxLanguageInfo_Description_set", (PyCFunction
) _wrap_wxLanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
3694 { "wxLanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
3695 { "wxLanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_wxLanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
3696 { "wxLanguageInfo_Language_get", (PyCFunction
) _wrap_wxLanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
3697 { "wxLanguageInfo_Language_set", (PyCFunction
) _wrap_wxLanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
3698 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3699 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3700 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
3701 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
3702 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3703 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3704 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
3705 { "wxFontList_GetCount", (PyCFunction
) _wrap_wxFontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
3706 { "wxFontList_RemoveFont", (PyCFunction
) _wrap_wxFontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
3707 { "wxFontList_FindOrCreateFont", (PyCFunction
) _wrap_wxFontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
3708 { "wxFontList_AddFont", (PyCFunction
) _wrap_wxFontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
3709 { "wxFont_SetDefaultEncoding", (PyCFunction
) _wrap_wxFont_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3710 { "wxFont_GetDefaultEncoding", (PyCFunction
) _wrap_wxFont_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3711 { "wxFont_GetWeightString", (PyCFunction
) _wrap_wxFont_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
3712 { "wxFont_GetStyleString", (PyCFunction
) _wrap_wxFont_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
3713 { "wxFont_GetFamilyString", (PyCFunction
) _wrap_wxFont_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
3714 { "wxFont_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3715 { "wxFont_SetNativeFontInfo", (PyCFunction
) _wrap_wxFont_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3716 { "wxFont_SetEncoding", (PyCFunction
) _wrap_wxFont_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3717 { "wxFont_SetUnderlined", (PyCFunction
) _wrap_wxFont_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3718 { "wxFont_SetFaceName", (PyCFunction
) _wrap_wxFont_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3719 { "wxFont_SetWeight", (PyCFunction
) _wrap_wxFont_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3720 { "wxFont_SetStyle", (PyCFunction
) _wrap_wxFont_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3721 { "wxFont_SetFamily", (PyCFunction
) _wrap_wxFont_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3722 { "wxFont_SetPointSize", (PyCFunction
) _wrap_wxFont_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3723 { "wxFont_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
3724 { "wxFont_GetNativeFontInfoDesc", (PyCFunction
) _wrap_wxFont_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
3725 { "wxFont_GetNativeFontInfo", (PyCFunction
) _wrap_wxFont_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3726 { "wxFont_IsFixedWidth", (PyCFunction
) _wrap_wxFont_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
3727 { "wxFont_GetEncoding", (PyCFunction
) _wrap_wxFont_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3728 { "wxFont_GetFaceName", (PyCFunction
) _wrap_wxFont_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3729 { "wxFont_GetUnderlined", (PyCFunction
) _wrap_wxFont_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3730 { "wxFont_GetWeight", (PyCFunction
) _wrap_wxFont_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3731 { "wxFont_GetStyle", (PyCFunction
) _wrap_wxFont_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3732 { "wxFont_GetFamily", (PyCFunction
) _wrap_wxFont_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3733 { "wxFont_GetPointSize", (PyCFunction
) _wrap_wxFont_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3734 { "wxFont_Ok", (PyCFunction
) _wrap_wxFont_Ok
, METH_VARARGS
| METH_KEYWORDS
},
3735 { "delete_wxFont", (PyCFunction
) _wrap_delete_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3736 { "new_wxFontFromNativeInfo", (PyCFunction
) _wrap_new_wxFontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
3737 { "new_wxFont", (PyCFunction
) _wrap_new_wxFont
, METH_VARARGS
| METH_KEYWORDS
},
3738 { "wxFontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_wxFontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
3739 { "wxFontMapper_SetConfigPath", (PyCFunction
) _wrap_wxFontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
3740 { "wxFontMapper_SetConfig", (PyCFunction
) _wrap_wxFontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
3741 { "wxFontMapper_SetDialogTitle", (PyCFunction
) _wrap_wxFontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
3742 { "wxFontMapper_SetDialogParent", (PyCFunction
) _wrap_wxFontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
3743 { "wxFontMapper_GetEncodingDescription", (PyCFunction
) _wrap_wxFontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
3744 { "wxFontMapper_GetEncodingName", (PyCFunction
) _wrap_wxFontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
3745 { "wxFontMapper_CharsetToEncoding", (PyCFunction
) _wrap_wxFontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3746 { "wxFontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_wxFontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
3747 { "wxFontMapper_GetAltForEncoding", (PyCFunction
) _wrap_wxFontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3748 { "wxFontMapper_Set", (PyCFunction
) _wrap_wxFontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
3749 { "wxFontMapper_Get", (PyCFunction
) _wrap_wxFontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
3750 { "delete_wxFontMapper", (PyCFunction
) _wrap_delete_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
3751 { "new_wxFontMapper", (PyCFunction
) _wrap_new_wxFontMapper
, METH_VARARGS
| METH_KEYWORDS
},
3752 { "wxNativeFontInfo_ToUserString", (PyCFunction
) _wrap_wxNativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
3753 { "wxNativeFontInfo_FromUserString", (PyCFunction
) _wrap_wxNativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
3754 { "wxNativeFontInfo___str__", (PyCFunction
) _wrap_wxNativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
3755 { "wxNativeFontInfo_ToString", (PyCFunction
) _wrap_wxNativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
3756 { "wxNativeFontInfo_FromString", (PyCFunction
) _wrap_wxNativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
3757 { "wxNativeFontInfo_SetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3758 { "wxNativeFontInfo_SetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3759 { "wxNativeFontInfo_SetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3760 { "wxNativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3761 { "wxNativeFontInfo_SetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3762 { "wxNativeFontInfo_SetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3763 { "wxNativeFontInfo_SetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3764 { "wxNativeFontInfo_GetEncoding", (PyCFunction
) _wrap_wxNativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
3765 { "wxNativeFontInfo_GetFamily", (PyCFunction
) _wrap_wxNativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
3766 { "wxNativeFontInfo_GetFaceName", (PyCFunction
) _wrap_wxNativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
3767 { "wxNativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_wxNativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
3768 { "wxNativeFontInfo_GetWeight", (PyCFunction
) _wrap_wxNativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
3769 { "wxNativeFontInfo_GetStyle", (PyCFunction
) _wrap_wxNativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3770 { "wxNativeFontInfo_GetPointSize", (PyCFunction
) _wrap_wxNativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
3771 { "wxNativeFontInfo_Init", (PyCFunction
) _wrap_wxNativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
3772 { "new_wxNativeFontInfo", (PyCFunction
) _wrap_new_wxNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
3773 { "wxGetTranslation", (PyCFunction
) _wrap_wxGetTranslation
, METH_VARARGS
| METH_KEYWORDS
},
3774 { "wxGetLocale", (PyCFunction
) _wrap_wxGetLocale
, METH_VARARGS
| METH_KEYWORDS
},
3781 * This table is used by the pointer type-checker
3783 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3784 { "_signed_long","_long",0},
3785 { "_wxPrintQuality","_wxCoord",0},
3786 { "_wxPrintQuality","_int",0},
3787 { "_wxPrintQuality","_signed_int",0},
3788 { "_wxPrintQuality","_unsigned_int",0},
3789 { "_wxPrintQuality","_wxWindowID",0},
3790 { "_wxPrintQuality","_uint",0},
3791 { "_wxPrintQuality","_EBool",0},
3792 { "_wxPrintQuality","_size_t",0},
3793 { "_wxPrintQuality","_time_t",0},
3794 { "_byte","_unsigned_char",0},
3795 { "_long","_unsigned_long",0},
3796 { "_long","_signed_long",0},
3797 { "_size_t","_wxCoord",0},
3798 { "_size_t","_wxPrintQuality",0},
3799 { "_size_t","_time_t",0},
3800 { "_size_t","_unsigned_int",0},
3801 { "_size_t","_int",0},
3802 { "_size_t","_wxWindowID",0},
3803 { "_size_t","_uint",0},
3804 { "_uint","_wxCoord",0},
3805 { "_uint","_wxPrintQuality",0},
3806 { "_uint","_time_t",0},
3807 { "_uint","_size_t",0},
3808 { "_uint","_unsigned_int",0},
3809 { "_uint","_int",0},
3810 { "_uint","_wxWindowID",0},
3811 { "_wxChar","_char",0},
3812 { "_char","_wxChar",0},
3813 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3814 { "_EBool","_wxCoord",0},
3815 { "_EBool","_wxPrintQuality",0},
3816 { "_EBool","_signed_int",0},
3817 { "_EBool","_int",0},
3818 { "_EBool","_wxWindowID",0},
3819 { "_unsigned_long","_long",0},
3820 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3821 { "_signed_int","_wxCoord",0},
3822 { "_signed_int","_wxPrintQuality",0},
3823 { "_signed_int","_EBool",0},
3824 { "_signed_int","_wxWindowID",0},
3825 { "_signed_int","_int",0},
3826 { "_WXTYPE","_short",0},
3827 { "_WXTYPE","_signed_short",0},
3828 { "_WXTYPE","_unsigned_short",0},
3829 { "_unsigned_short","_WXTYPE",0},
3830 { "_unsigned_short","_short",0},
3831 { "_wxObject","_wxEncodingConverter",SwigwxEncodingConverterTowxObject
},
3832 { "_wxObject","_wxFontList",SwigwxFontListTowxObject
},
3833 { "_wxObject","_wxFont",SwigwxFontTowxObject
},
3834 { "_signed_short","_WXTYPE",0},
3835 { "_signed_short","_short",0},
3836 { "_unsigned_char","_byte",0},
3837 { "_unsigned_int","_wxCoord",0},
3838 { "_unsigned_int","_wxPrintQuality",0},
3839 { "_unsigned_int","_time_t",0},
3840 { "_unsigned_int","_size_t",0},
3841 { "_unsigned_int","_uint",0},
3842 { "_unsigned_int","_wxWindowID",0},
3843 { "_unsigned_int","_int",0},
3844 { "_short","_WXTYPE",0},
3845 { "_short","_unsigned_short",0},
3846 { "_short","_signed_short",0},
3847 { "_wxWindowID","_wxCoord",0},
3848 { "_wxWindowID","_wxPrintQuality",0},
3849 { "_wxWindowID","_time_t",0},
3850 { "_wxWindowID","_size_t",0},
3851 { "_wxWindowID","_EBool",0},
3852 { "_wxWindowID","_uint",0},
3853 { "_wxWindowID","_int",0},
3854 { "_wxWindowID","_signed_int",0},
3855 { "_wxWindowID","_unsigned_int",0},
3856 { "_int","_wxCoord",0},
3857 { "_int","_wxPrintQuality",0},
3858 { "_int","_time_t",0},
3859 { "_int","_size_t",0},
3860 { "_int","_EBool",0},
3861 { "_int","_uint",0},
3862 { "_int","_wxWindowID",0},
3863 { "_int","_unsigned_int",0},
3864 { "_int","_signed_int",0},
3865 { "_time_t","_wxCoord",0},
3866 { "_time_t","_wxPrintQuality",0},
3867 { "_time_t","_unsigned_int",0},
3868 { "_time_t","_int",0},
3869 { "_time_t","_wxWindowID",0},
3870 { "_time_t","_uint",0},
3871 { "_time_t","_size_t",0},
3872 { "_wxCoord","_int",0},
3873 { "_wxCoord","_signed_int",0},
3874 { "_wxCoord","_unsigned_int",0},
3875 { "_wxCoord","_wxWindowID",0},
3876 { "_wxCoord","_uint",0},
3877 { "_wxCoord","_EBool",0},
3878 { "_wxCoord","_size_t",0},
3879 { "_wxCoord","_time_t",0},
3880 { "_wxCoord","_wxPrintQuality",0},
3883 static PyObject
*SWIG_globals
;
3887 SWIGEXPORT(void) initfontsc() {
3889 SWIG_globals
= SWIG_newvarlink();
3890 m
= Py_InitModule("fontsc", fontscMethods
);
3891 d
= PyModule_GetDict(m
);
3892 PyDict_SetItemString(d
,"wxFONTFAMILY_DEFAULT", PyInt_FromLong((long) wxFONTFAMILY_DEFAULT
));
3893 PyDict_SetItemString(d
,"wxFONTFAMILY_DECORATIVE", PyInt_FromLong((long) wxFONTFAMILY_DECORATIVE
));
3894 PyDict_SetItemString(d
,"wxFONTFAMILY_ROMAN", PyInt_FromLong((long) wxFONTFAMILY_ROMAN
));
3895 PyDict_SetItemString(d
,"wxFONTFAMILY_SCRIPT", PyInt_FromLong((long) wxFONTFAMILY_SCRIPT
));
3896 PyDict_SetItemString(d
,"wxFONTFAMILY_SWISS", PyInt_FromLong((long) wxFONTFAMILY_SWISS
));
3897 PyDict_SetItemString(d
,"wxFONTFAMILY_MODERN", PyInt_FromLong((long) wxFONTFAMILY_MODERN
));
3898 PyDict_SetItemString(d
,"wxFONTFAMILY_TELETYPE", PyInt_FromLong((long) wxFONTFAMILY_TELETYPE
));
3899 PyDict_SetItemString(d
,"wxFONTFAMILY_MAX", PyInt_FromLong((long) wxFONTFAMILY_MAX
));
3900 PyDict_SetItemString(d
,"wxFONTFAMILY_UNKNOWN", PyInt_FromLong((long) wxFONTFAMILY_UNKNOWN
));
3901 PyDict_SetItemString(d
,"wxFONTSTYLE_NORMAL", PyInt_FromLong((long) wxFONTSTYLE_NORMAL
));
3902 PyDict_SetItemString(d
,"wxFONTSTYLE_ITALIC", PyInt_FromLong((long) wxFONTSTYLE_ITALIC
));
3903 PyDict_SetItemString(d
,"wxFONTSTYLE_SLANT", PyInt_FromLong((long) wxFONTSTYLE_SLANT
));
3904 PyDict_SetItemString(d
,"wxFONTSTYLE_MAX", PyInt_FromLong((long) wxFONTSTYLE_MAX
));
3905 PyDict_SetItemString(d
,"wxFONTWEIGHT_NORMAL", PyInt_FromLong((long) wxFONTWEIGHT_NORMAL
));
3906 PyDict_SetItemString(d
,"wxFONTWEIGHT_LIGHT", PyInt_FromLong((long) wxFONTWEIGHT_LIGHT
));
3907 PyDict_SetItemString(d
,"wxFONTWEIGHT_BOLD", PyInt_FromLong((long) wxFONTWEIGHT_BOLD
));
3908 PyDict_SetItemString(d
,"wxFONTWEIGHT_MAX", PyInt_FromLong((long) wxFONTWEIGHT_MAX
));
3909 PyDict_SetItemString(d
,"wxFONTENCODING_SYSTEM", PyInt_FromLong((long) wxFONTENCODING_SYSTEM
));
3910 PyDict_SetItemString(d
,"wxFONTENCODING_DEFAULT", PyInt_FromLong((long) wxFONTENCODING_DEFAULT
));
3911 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_1", PyInt_FromLong((long) wxFONTENCODING_ISO8859_1
));
3912 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_2", PyInt_FromLong((long) wxFONTENCODING_ISO8859_2
));
3913 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_3", PyInt_FromLong((long) wxFONTENCODING_ISO8859_3
));
3914 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_4", PyInt_FromLong((long) wxFONTENCODING_ISO8859_4
));
3915 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_5", PyInt_FromLong((long) wxFONTENCODING_ISO8859_5
));
3916 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_6", PyInt_FromLong((long) wxFONTENCODING_ISO8859_6
));
3917 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_7", PyInt_FromLong((long) wxFONTENCODING_ISO8859_7
));
3918 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_8", PyInt_FromLong((long) wxFONTENCODING_ISO8859_8
));
3919 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_9", PyInt_FromLong((long) wxFONTENCODING_ISO8859_9
));
3920 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_10", PyInt_FromLong((long) wxFONTENCODING_ISO8859_10
));
3921 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_11", PyInt_FromLong((long) wxFONTENCODING_ISO8859_11
));
3922 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_12", PyInt_FromLong((long) wxFONTENCODING_ISO8859_12
));
3923 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_13", PyInt_FromLong((long) wxFONTENCODING_ISO8859_13
));
3924 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_14", PyInt_FromLong((long) wxFONTENCODING_ISO8859_14
));
3925 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_15", PyInt_FromLong((long) wxFONTENCODING_ISO8859_15
));
3926 PyDict_SetItemString(d
,"wxFONTENCODING_ISO8859_MAX", PyInt_FromLong((long) wxFONTENCODING_ISO8859_MAX
));
3927 PyDict_SetItemString(d
,"wxFONTENCODING_KOI8", PyInt_FromLong((long) wxFONTENCODING_KOI8
));
3928 PyDict_SetItemString(d
,"wxFONTENCODING_ALTERNATIVE", PyInt_FromLong((long) wxFONTENCODING_ALTERNATIVE
));
3929 PyDict_SetItemString(d
,"wxFONTENCODING_BULGARIAN", PyInt_FromLong((long) wxFONTENCODING_BULGARIAN
));
3930 PyDict_SetItemString(d
,"wxFONTENCODING_CP437", PyInt_FromLong((long) wxFONTENCODING_CP437
));
3931 PyDict_SetItemString(d
,"wxFONTENCODING_CP850", PyInt_FromLong((long) wxFONTENCODING_CP850
));
3932 PyDict_SetItemString(d
,"wxFONTENCODING_CP852", PyInt_FromLong((long) wxFONTENCODING_CP852
));
3933 PyDict_SetItemString(d
,"wxFONTENCODING_CP855", PyInt_FromLong((long) wxFONTENCODING_CP855
));
3934 PyDict_SetItemString(d
,"wxFONTENCODING_CP866", PyInt_FromLong((long) wxFONTENCODING_CP866
));
3935 PyDict_SetItemString(d
,"wxFONTENCODING_CP874", PyInt_FromLong((long) wxFONTENCODING_CP874
));
3936 PyDict_SetItemString(d
,"wxFONTENCODING_CP932", PyInt_FromLong((long) wxFONTENCODING_CP932
));
3937 PyDict_SetItemString(d
,"wxFONTENCODING_CP936", PyInt_FromLong((long) wxFONTENCODING_CP936
));
3938 PyDict_SetItemString(d
,"wxFONTENCODING_CP949", PyInt_FromLong((long) wxFONTENCODING_CP949
));
3939 PyDict_SetItemString(d
,"wxFONTENCODING_CP950", PyInt_FromLong((long) wxFONTENCODING_CP950
));
3940 PyDict_SetItemString(d
,"wxFONTENCODING_CP1250", PyInt_FromLong((long) wxFONTENCODING_CP1250
));
3941 PyDict_SetItemString(d
,"wxFONTENCODING_CP1251", PyInt_FromLong((long) wxFONTENCODING_CP1251
));
3942 PyDict_SetItemString(d
,"wxFONTENCODING_CP1252", PyInt_FromLong((long) wxFONTENCODING_CP1252
));
3943 PyDict_SetItemString(d
,"wxFONTENCODING_CP1253", PyInt_FromLong((long) wxFONTENCODING_CP1253
));
3944 PyDict_SetItemString(d
,"wxFONTENCODING_CP1254", PyInt_FromLong((long) wxFONTENCODING_CP1254
));
3945 PyDict_SetItemString(d
,"wxFONTENCODING_CP1255", PyInt_FromLong((long) wxFONTENCODING_CP1255
));
3946 PyDict_SetItemString(d
,"wxFONTENCODING_CP1256", PyInt_FromLong((long) wxFONTENCODING_CP1256
));
3947 PyDict_SetItemString(d
,"wxFONTENCODING_CP1257", PyInt_FromLong((long) wxFONTENCODING_CP1257
));
3948 PyDict_SetItemString(d
,"wxFONTENCODING_CP12_MAX", PyInt_FromLong((long) wxFONTENCODING_CP12_MAX
));
3949 PyDict_SetItemString(d
,"wxFONTENCODING_UTF7", PyInt_FromLong((long) wxFONTENCODING_UTF7
));
3950 PyDict_SetItemString(d
,"wxFONTENCODING_UTF8", PyInt_FromLong((long) wxFONTENCODING_UTF8
));
3951 PyDict_SetItemString(d
,"wxFONTENCODING_UNICODE", PyInt_FromLong((long) wxFONTENCODING_UNICODE
));
3952 PyDict_SetItemString(d
,"wxFONTENCODING_MAX", PyInt_FromLong((long) wxFONTENCODING_MAX
));
3953 PyDict_SetItemString(d
,"wxLANGUAGE_DEFAULT", PyInt_FromLong((long) wxLANGUAGE_DEFAULT
));
3954 PyDict_SetItemString(d
,"wxLANGUAGE_UNKNOWN", PyInt_FromLong((long) wxLANGUAGE_UNKNOWN
));
3955 PyDict_SetItemString(d
,"wxLANGUAGE_ABKHAZIAN", PyInt_FromLong((long) wxLANGUAGE_ABKHAZIAN
));
3956 PyDict_SetItemString(d
,"wxLANGUAGE_AFAR", PyInt_FromLong((long) wxLANGUAGE_AFAR
));
3957 PyDict_SetItemString(d
,"wxLANGUAGE_AFRIKAANS", PyInt_FromLong((long) wxLANGUAGE_AFRIKAANS
));
3958 PyDict_SetItemString(d
,"wxLANGUAGE_ALBANIAN", PyInt_FromLong((long) wxLANGUAGE_ALBANIAN
));
3959 PyDict_SetItemString(d
,"wxLANGUAGE_AMHARIC", PyInt_FromLong((long) wxLANGUAGE_AMHARIC
));
3960 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC", PyInt_FromLong((long) wxLANGUAGE_ARABIC
));
3961 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_ALGERIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_ALGERIA
));
3962 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_BAHRAIN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_BAHRAIN
));
3963 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_EGYPT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_EGYPT
));
3964 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_IRAQ", PyInt_FromLong((long) wxLANGUAGE_ARABIC_IRAQ
));
3965 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_JORDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_JORDAN
));
3966 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_KUWAIT", PyInt_FromLong((long) wxLANGUAGE_ARABIC_KUWAIT
));
3967 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LEBANON", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LEBANON
));
3968 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_LIBYA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_LIBYA
));
3969 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_MOROCCO", PyInt_FromLong((long) wxLANGUAGE_ARABIC_MOROCCO
));
3970 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_OMAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_OMAN
));
3971 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_QATAR", PyInt_FromLong((long) wxLANGUAGE_ARABIC_QATAR
));
3972 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SAUDI_ARABIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
3973 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SUDAN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SUDAN
));
3974 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_SYRIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_SYRIA
));
3975 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_TUNISIA", PyInt_FromLong((long) wxLANGUAGE_ARABIC_TUNISIA
));
3976 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_UAE", PyInt_FromLong((long) wxLANGUAGE_ARABIC_UAE
));
3977 PyDict_SetItemString(d
,"wxLANGUAGE_ARABIC_YEMEN", PyInt_FromLong((long) wxLANGUAGE_ARABIC_YEMEN
));
3978 PyDict_SetItemString(d
,"wxLANGUAGE_ARMENIAN", PyInt_FromLong((long) wxLANGUAGE_ARMENIAN
));
3979 PyDict_SetItemString(d
,"wxLANGUAGE_ASSAMESE", PyInt_FromLong((long) wxLANGUAGE_ASSAMESE
));
3980 PyDict_SetItemString(d
,"wxLANGUAGE_AYMARA", PyInt_FromLong((long) wxLANGUAGE_AYMARA
));
3981 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI", PyInt_FromLong((long) wxLANGUAGE_AZERI
));
3982 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_AZERI_CYRILLIC
));
3983 PyDict_SetItemString(d
,"wxLANGUAGE_AZERI_LATIN", PyInt_FromLong((long) wxLANGUAGE_AZERI_LATIN
));
3984 PyDict_SetItemString(d
,"wxLANGUAGE_BASHKIR", PyInt_FromLong((long) wxLANGUAGE_BASHKIR
));
3985 PyDict_SetItemString(d
,"wxLANGUAGE_BASQUE", PyInt_FromLong((long) wxLANGUAGE_BASQUE
));
3986 PyDict_SetItemString(d
,"wxLANGUAGE_BELARUSIAN", PyInt_FromLong((long) wxLANGUAGE_BELARUSIAN
));
3987 PyDict_SetItemString(d
,"wxLANGUAGE_BENGALI", PyInt_FromLong((long) wxLANGUAGE_BENGALI
));
3988 PyDict_SetItemString(d
,"wxLANGUAGE_BHUTANI", PyInt_FromLong((long) wxLANGUAGE_BHUTANI
));
3989 PyDict_SetItemString(d
,"wxLANGUAGE_BIHARI", PyInt_FromLong((long) wxLANGUAGE_BIHARI
));
3990 PyDict_SetItemString(d
,"wxLANGUAGE_BISLAMA", PyInt_FromLong((long) wxLANGUAGE_BISLAMA
));
3991 PyDict_SetItemString(d
,"wxLANGUAGE_BRETON", PyInt_FromLong((long) wxLANGUAGE_BRETON
));
3992 PyDict_SetItemString(d
,"wxLANGUAGE_BULGARIAN", PyInt_FromLong((long) wxLANGUAGE_BULGARIAN
));
3993 PyDict_SetItemString(d
,"wxLANGUAGE_BURMESE", PyInt_FromLong((long) wxLANGUAGE_BURMESE
));
3994 PyDict_SetItemString(d
,"wxLANGUAGE_CAMBODIAN", PyInt_FromLong((long) wxLANGUAGE_CAMBODIAN
));
3995 PyDict_SetItemString(d
,"wxLANGUAGE_CATALAN", PyInt_FromLong((long) wxLANGUAGE_CATALAN
));
3996 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE", PyInt_FromLong((long) wxLANGUAGE_CHINESE
));
3997 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SIMPLIFIED", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SIMPLIFIED
));
3998 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TRADITIONAL", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TRADITIONAL
));
3999 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_HONGKONG", PyInt_FromLong((long) wxLANGUAGE_CHINESE_HONGKONG
));
4000 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_MACAU", PyInt_FromLong((long) wxLANGUAGE_CHINESE_MACAU
));
4001 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_SINGAPORE", PyInt_FromLong((long) wxLANGUAGE_CHINESE_SINGAPORE
));
4002 PyDict_SetItemString(d
,"wxLANGUAGE_CHINESE_TAIWAN", PyInt_FromLong((long) wxLANGUAGE_CHINESE_TAIWAN
));
4003 PyDict_SetItemString(d
,"wxLANGUAGE_CORSICAN", PyInt_FromLong((long) wxLANGUAGE_CORSICAN
));
4004 PyDict_SetItemString(d
,"wxLANGUAGE_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_CROATIAN
));
4005 PyDict_SetItemString(d
,"wxLANGUAGE_CZECH", PyInt_FromLong((long) wxLANGUAGE_CZECH
));
4006 PyDict_SetItemString(d
,"wxLANGUAGE_DANISH", PyInt_FromLong((long) wxLANGUAGE_DANISH
));
4007 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH", PyInt_FromLong((long) wxLANGUAGE_DUTCH
));
4008 PyDict_SetItemString(d
,"wxLANGUAGE_DUTCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_DUTCH_BELGIAN
));
4009 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH", PyInt_FromLong((long) wxLANGUAGE_ENGLISH
));
4010 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_UK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_UK
));
4011 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_US", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_US
));
4012 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_AUSTRALIA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_AUSTRALIA
));
4013 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BELIZE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BELIZE
));
4014 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_BOTSWANA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_BOTSWANA
));
4015 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CANADA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CANADA
));
4016 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_CARIBBEAN", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_CARIBBEAN
));
4017 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_DENMARK", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_DENMARK
));
4018 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_EIRE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_EIRE
));
4019 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_JAMAICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_JAMAICA
));
4020 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_NEW_ZEALAND", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
4021 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_PHILIPPINES", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_PHILIPPINES
));
4022 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_SOUTH_AFRICA", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
4023 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_TRINIDAD", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_TRINIDAD
));
4024 PyDict_SetItemString(d
,"wxLANGUAGE_ENGLISH_ZIMBABWE", PyInt_FromLong((long) wxLANGUAGE_ENGLISH_ZIMBABWE
));
4025 PyDict_SetItemString(d
,"wxLANGUAGE_ESPERANTO", PyInt_FromLong((long) wxLANGUAGE_ESPERANTO
));
4026 PyDict_SetItemString(d
,"wxLANGUAGE_ESTONIAN", PyInt_FromLong((long) wxLANGUAGE_ESTONIAN
));
4027 PyDict_SetItemString(d
,"wxLANGUAGE_FAEROESE", PyInt_FromLong((long) wxLANGUAGE_FAEROESE
));
4028 PyDict_SetItemString(d
,"wxLANGUAGE_FARSI", PyInt_FromLong((long) wxLANGUAGE_FARSI
));
4029 PyDict_SetItemString(d
,"wxLANGUAGE_FIJI", PyInt_FromLong((long) wxLANGUAGE_FIJI
));
4030 PyDict_SetItemString(d
,"wxLANGUAGE_FINNISH", PyInt_FromLong((long) wxLANGUAGE_FINNISH
));
4031 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH", PyInt_FromLong((long) wxLANGUAGE_FRENCH
));
4032 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_BELGIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_BELGIAN
));
4033 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_CANADIAN", PyInt_FromLong((long) wxLANGUAGE_FRENCH_CANADIAN
));
4034 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_FRENCH_LUXEMBOURG
));
4035 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_MONACO", PyInt_FromLong((long) wxLANGUAGE_FRENCH_MONACO
));
4036 PyDict_SetItemString(d
,"wxLANGUAGE_FRENCH_SWISS", PyInt_FromLong((long) wxLANGUAGE_FRENCH_SWISS
));
4037 PyDict_SetItemString(d
,"wxLANGUAGE_FRISIAN", PyInt_FromLong((long) wxLANGUAGE_FRISIAN
));
4038 PyDict_SetItemString(d
,"wxLANGUAGE_GALICIAN", PyInt_FromLong((long) wxLANGUAGE_GALICIAN
));
4039 PyDict_SetItemString(d
,"wxLANGUAGE_GEORGIAN", PyInt_FromLong((long) wxLANGUAGE_GEORGIAN
));
4040 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN
));
4041 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_AUSTRIAN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_AUSTRIAN
));
4042 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_BELGIUM", PyInt_FromLong((long) wxLANGUAGE_GERMAN_BELGIUM
));
4043 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LIECHTENSTEIN", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
4044 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_LUXEMBOURG", PyInt_FromLong((long) wxLANGUAGE_GERMAN_LUXEMBOURG
));
4045 PyDict_SetItemString(d
,"wxLANGUAGE_GERMAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_GERMAN_SWISS
));
4046 PyDict_SetItemString(d
,"wxLANGUAGE_GREEK", PyInt_FromLong((long) wxLANGUAGE_GREEK
));
4047 PyDict_SetItemString(d
,"wxLANGUAGE_GREENLANDIC", PyInt_FromLong((long) wxLANGUAGE_GREENLANDIC
));
4048 PyDict_SetItemString(d
,"wxLANGUAGE_GUARANI", PyInt_FromLong((long) wxLANGUAGE_GUARANI
));
4049 PyDict_SetItemString(d
,"wxLANGUAGE_GUJARATI", PyInt_FromLong((long) wxLANGUAGE_GUJARATI
));
4050 PyDict_SetItemString(d
,"wxLANGUAGE_HAUSA", PyInt_FromLong((long) wxLANGUAGE_HAUSA
));
4051 PyDict_SetItemString(d
,"wxLANGUAGE_HEBREW", PyInt_FromLong((long) wxLANGUAGE_HEBREW
));
4052 PyDict_SetItemString(d
,"wxLANGUAGE_HINDI", PyInt_FromLong((long) wxLANGUAGE_HINDI
));
4053 PyDict_SetItemString(d
,"wxLANGUAGE_HUNGARIAN", PyInt_FromLong((long) wxLANGUAGE_HUNGARIAN
));
4054 PyDict_SetItemString(d
,"wxLANGUAGE_ICELANDIC", PyInt_FromLong((long) wxLANGUAGE_ICELANDIC
));
4055 PyDict_SetItemString(d
,"wxLANGUAGE_INDONESIAN", PyInt_FromLong((long) wxLANGUAGE_INDONESIAN
));
4056 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUA", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUA
));
4057 PyDict_SetItemString(d
,"wxLANGUAGE_INTERLINGUE", PyInt_FromLong((long) wxLANGUAGE_INTERLINGUE
));
4058 PyDict_SetItemString(d
,"wxLANGUAGE_INUKTITUT", PyInt_FromLong((long) wxLANGUAGE_INUKTITUT
));
4059 PyDict_SetItemString(d
,"wxLANGUAGE_INUPIAK", PyInt_FromLong((long) wxLANGUAGE_INUPIAK
));
4060 PyDict_SetItemString(d
,"wxLANGUAGE_IRISH", PyInt_FromLong((long) wxLANGUAGE_IRISH
));
4061 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN", PyInt_FromLong((long) wxLANGUAGE_ITALIAN
));
4062 PyDict_SetItemString(d
,"wxLANGUAGE_ITALIAN_SWISS", PyInt_FromLong((long) wxLANGUAGE_ITALIAN_SWISS
));
4063 PyDict_SetItemString(d
,"wxLANGUAGE_JAPANESE", PyInt_FromLong((long) wxLANGUAGE_JAPANESE
));
4064 PyDict_SetItemString(d
,"wxLANGUAGE_JAVANESE", PyInt_FromLong((long) wxLANGUAGE_JAVANESE
));
4065 PyDict_SetItemString(d
,"wxLANGUAGE_KANNADA", PyInt_FromLong((long) wxLANGUAGE_KANNADA
));
4066 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI
));
4067 PyDict_SetItemString(d
,"wxLANGUAGE_KASHMIRI_INDIA", PyInt_FromLong((long) wxLANGUAGE_KASHMIRI_INDIA
));
4068 PyDict_SetItemString(d
,"wxLANGUAGE_KAZAKH", PyInt_FromLong((long) wxLANGUAGE_KAZAKH
));
4069 PyDict_SetItemString(d
,"wxLANGUAGE_KERNEWEK", PyInt_FromLong((long) wxLANGUAGE_KERNEWEK
));
4070 PyDict_SetItemString(d
,"wxLANGUAGE_KINYARWANDA", PyInt_FromLong((long) wxLANGUAGE_KINYARWANDA
));
4071 PyDict_SetItemString(d
,"wxLANGUAGE_KIRGHIZ", PyInt_FromLong((long) wxLANGUAGE_KIRGHIZ
));
4072 PyDict_SetItemString(d
,"wxLANGUAGE_KIRUNDI", PyInt_FromLong((long) wxLANGUAGE_KIRUNDI
));
4073 PyDict_SetItemString(d
,"wxLANGUAGE_KONKANI", PyInt_FromLong((long) wxLANGUAGE_KONKANI
));
4074 PyDict_SetItemString(d
,"wxLANGUAGE_KOREAN", PyInt_FromLong((long) wxLANGUAGE_KOREAN
));
4075 PyDict_SetItemString(d
,"wxLANGUAGE_KURDISH", PyInt_FromLong((long) wxLANGUAGE_KURDISH
));
4076 PyDict_SetItemString(d
,"wxLANGUAGE_LAOTHIAN", PyInt_FromLong((long) wxLANGUAGE_LAOTHIAN
));
4077 PyDict_SetItemString(d
,"wxLANGUAGE_LATIN", PyInt_FromLong((long) wxLANGUAGE_LATIN
));
4078 PyDict_SetItemString(d
,"wxLANGUAGE_LATVIAN", PyInt_FromLong((long) wxLANGUAGE_LATVIAN
));
4079 PyDict_SetItemString(d
,"wxLANGUAGE_LINGALA", PyInt_FromLong((long) wxLANGUAGE_LINGALA
));
4080 PyDict_SetItemString(d
,"wxLANGUAGE_LITHUANIAN", PyInt_FromLong((long) wxLANGUAGE_LITHUANIAN
));
4081 PyDict_SetItemString(d
,"wxLANGUAGE_MACEDONIAN", PyInt_FromLong((long) wxLANGUAGE_MACEDONIAN
));
4082 PyDict_SetItemString(d
,"wxLANGUAGE_MALAGASY", PyInt_FromLong((long) wxLANGUAGE_MALAGASY
));
4083 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY", PyInt_FromLong((long) wxLANGUAGE_MALAY
));
4084 PyDict_SetItemString(d
,"wxLANGUAGE_MALAYALAM", PyInt_FromLong((long) wxLANGUAGE_MALAYALAM
));
4085 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM", PyInt_FromLong((long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
4086 PyDict_SetItemString(d
,"wxLANGUAGE_MALAY_MALAYSIA", PyInt_FromLong((long) wxLANGUAGE_MALAY_MALAYSIA
));
4087 PyDict_SetItemString(d
,"wxLANGUAGE_MALTESE", PyInt_FromLong((long) wxLANGUAGE_MALTESE
));
4088 PyDict_SetItemString(d
,"wxLANGUAGE_MANIPURI", PyInt_FromLong((long) wxLANGUAGE_MANIPURI
));
4089 PyDict_SetItemString(d
,"wxLANGUAGE_MAORI", PyInt_FromLong((long) wxLANGUAGE_MAORI
));
4090 PyDict_SetItemString(d
,"wxLANGUAGE_MARATHI", PyInt_FromLong((long) wxLANGUAGE_MARATHI
));
4091 PyDict_SetItemString(d
,"wxLANGUAGE_MOLDAVIAN", PyInt_FromLong((long) wxLANGUAGE_MOLDAVIAN
));
4092 PyDict_SetItemString(d
,"wxLANGUAGE_MONGOLIAN", PyInt_FromLong((long) wxLANGUAGE_MONGOLIAN
));
4093 PyDict_SetItemString(d
,"wxLANGUAGE_NAURU", PyInt_FromLong((long) wxLANGUAGE_NAURU
));
4094 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI", PyInt_FromLong((long) wxLANGUAGE_NEPALI
));
4095 PyDict_SetItemString(d
,"wxLANGUAGE_NEPALI_INDIA", PyInt_FromLong((long) wxLANGUAGE_NEPALI_INDIA
));
4096 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_BOKMAL", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_BOKMAL
));
4097 PyDict_SetItemString(d
,"wxLANGUAGE_NORWEGIAN_NYNORSK", PyInt_FromLong((long) wxLANGUAGE_NORWEGIAN_NYNORSK
));
4098 PyDict_SetItemString(d
,"wxLANGUAGE_OCCITAN", PyInt_FromLong((long) wxLANGUAGE_OCCITAN
));
4099 PyDict_SetItemString(d
,"wxLANGUAGE_ORIYA", PyInt_FromLong((long) wxLANGUAGE_ORIYA
));
4100 PyDict_SetItemString(d
,"wxLANGUAGE_OROMO", PyInt_FromLong((long) wxLANGUAGE_OROMO
));
4101 PyDict_SetItemString(d
,"wxLANGUAGE_PASHTO", PyInt_FromLong((long) wxLANGUAGE_PASHTO
));
4102 PyDict_SetItemString(d
,"wxLANGUAGE_POLISH", PyInt_FromLong((long) wxLANGUAGE_POLISH
));
4103 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE
));
4104 PyDict_SetItemString(d
,"wxLANGUAGE_PORTUGUESE_BRAZILIAN", PyInt_FromLong((long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
4105 PyDict_SetItemString(d
,"wxLANGUAGE_PUNJABI", PyInt_FromLong((long) wxLANGUAGE_PUNJABI
));
4106 PyDict_SetItemString(d
,"wxLANGUAGE_QUECHUA", PyInt_FromLong((long) wxLANGUAGE_QUECHUA
));
4107 PyDict_SetItemString(d
,"wxLANGUAGE_RHAETO_ROMANCE", PyInt_FromLong((long) wxLANGUAGE_RHAETO_ROMANCE
));
4108 PyDict_SetItemString(d
,"wxLANGUAGE_ROMANIAN", PyInt_FromLong((long) wxLANGUAGE_ROMANIAN
));
4109 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN
));
4110 PyDict_SetItemString(d
,"wxLANGUAGE_RUSSIAN_UKRAINE", PyInt_FromLong((long) wxLANGUAGE_RUSSIAN_UKRAINE
));
4111 PyDict_SetItemString(d
,"wxLANGUAGE_SAMOAN", PyInt_FromLong((long) wxLANGUAGE_SAMOAN
));
4112 PyDict_SetItemString(d
,"wxLANGUAGE_SANGHO", PyInt_FromLong((long) wxLANGUAGE_SANGHO
));
4113 PyDict_SetItemString(d
,"wxLANGUAGE_SANSKRIT", PyInt_FromLong((long) wxLANGUAGE_SANSKRIT
));
4114 PyDict_SetItemString(d
,"wxLANGUAGE_SCOTS_GAELIC", PyInt_FromLong((long) wxLANGUAGE_SCOTS_GAELIC
));
4115 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN
));
4116 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_CYRILLIC
));
4117 PyDict_SetItemString(d
,"wxLANGUAGE_SERBIAN_LATIN", PyInt_FromLong((long) wxLANGUAGE_SERBIAN_LATIN
));
4118 PyDict_SetItemString(d
,"wxLANGUAGE_SERBO_CROATIAN", PyInt_FromLong((long) wxLANGUAGE_SERBO_CROATIAN
));
4119 PyDict_SetItemString(d
,"wxLANGUAGE_SESOTHO", PyInt_FromLong((long) wxLANGUAGE_SESOTHO
));
4120 PyDict_SetItemString(d
,"wxLANGUAGE_SETSWANA", PyInt_FromLong((long) wxLANGUAGE_SETSWANA
));
4121 PyDict_SetItemString(d
,"wxLANGUAGE_SHONA", PyInt_FromLong((long) wxLANGUAGE_SHONA
));
4122 PyDict_SetItemString(d
,"wxLANGUAGE_SINDHI", PyInt_FromLong((long) wxLANGUAGE_SINDHI
));
4123 PyDict_SetItemString(d
,"wxLANGUAGE_SINHALESE", PyInt_FromLong((long) wxLANGUAGE_SINHALESE
));
4124 PyDict_SetItemString(d
,"wxLANGUAGE_SISWATI", PyInt_FromLong((long) wxLANGUAGE_SISWATI
));
4125 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVAK", PyInt_FromLong((long) wxLANGUAGE_SLOVAK
));
4126 PyDict_SetItemString(d
,"wxLANGUAGE_SLOVENIAN", PyInt_FromLong((long) wxLANGUAGE_SLOVENIAN
));
4127 PyDict_SetItemString(d
,"wxLANGUAGE_SOMALI", PyInt_FromLong((long) wxLANGUAGE_SOMALI
));
4128 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH", PyInt_FromLong((long) wxLANGUAGE_SPANISH
));
4129 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ARGENTINA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ARGENTINA
));
4130 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_BOLIVIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_BOLIVIA
));
4131 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_CHILE", PyInt_FromLong((long) wxLANGUAGE_SPANISH_CHILE
));
4132 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COLOMBIA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COLOMBIA
));
4133 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_COSTA_RICA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_COSTA_RICA
));
4134 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC", PyInt_FromLong((long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
4135 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_ECUADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_ECUADOR
));
4136 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_EL_SALVADOR", PyInt_FromLong((long) wxLANGUAGE_SPANISH_EL_SALVADOR
));
4137 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_GUATEMALA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_GUATEMALA
));
4138 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_HONDURAS", PyInt_FromLong((long) wxLANGUAGE_SPANISH_HONDURAS
));
4139 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MEXICAN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MEXICAN
));
4140 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_MODERN", PyInt_FromLong((long) wxLANGUAGE_SPANISH_MODERN
));
4141 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_NICARAGUA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_NICARAGUA
));
4142 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PANAMA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PANAMA
));
4143 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PARAGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PARAGUAY
));
4144 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PERU", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PERU
));
4145 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_PUERTO_RICO", PyInt_FromLong((long) wxLANGUAGE_SPANISH_PUERTO_RICO
));
4146 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_URUGUAY", PyInt_FromLong((long) wxLANGUAGE_SPANISH_URUGUAY
));
4147 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_US", PyInt_FromLong((long) wxLANGUAGE_SPANISH_US
));
4148 PyDict_SetItemString(d
,"wxLANGUAGE_SPANISH_VENEZUELA", PyInt_FromLong((long) wxLANGUAGE_SPANISH_VENEZUELA
));
4149 PyDict_SetItemString(d
,"wxLANGUAGE_SUNDANESE", PyInt_FromLong((long) wxLANGUAGE_SUNDANESE
));
4150 PyDict_SetItemString(d
,"wxLANGUAGE_SWAHILI", PyInt_FromLong((long) wxLANGUAGE_SWAHILI
));
4151 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH", PyInt_FromLong((long) wxLANGUAGE_SWEDISH
));
4152 PyDict_SetItemString(d
,"wxLANGUAGE_SWEDISH_FINLAND", PyInt_FromLong((long) wxLANGUAGE_SWEDISH_FINLAND
));
4153 PyDict_SetItemString(d
,"wxLANGUAGE_TAGALOG", PyInt_FromLong((long) wxLANGUAGE_TAGALOG
));
4154 PyDict_SetItemString(d
,"wxLANGUAGE_TAJIK", PyInt_FromLong((long) wxLANGUAGE_TAJIK
));
4155 PyDict_SetItemString(d
,"wxLANGUAGE_TAMIL", PyInt_FromLong((long) wxLANGUAGE_TAMIL
));
4156 PyDict_SetItemString(d
,"wxLANGUAGE_TATAR", PyInt_FromLong((long) wxLANGUAGE_TATAR
));
4157 PyDict_SetItemString(d
,"wxLANGUAGE_TELUGU", PyInt_FromLong((long) wxLANGUAGE_TELUGU
));
4158 PyDict_SetItemString(d
,"wxLANGUAGE_THAI", PyInt_FromLong((long) wxLANGUAGE_THAI
));
4159 PyDict_SetItemString(d
,"wxLANGUAGE_TIBETAN", PyInt_FromLong((long) wxLANGUAGE_TIBETAN
));
4160 PyDict_SetItemString(d
,"wxLANGUAGE_TIGRINYA", PyInt_FromLong((long) wxLANGUAGE_TIGRINYA
));
4161 PyDict_SetItemString(d
,"wxLANGUAGE_TONGA", PyInt_FromLong((long) wxLANGUAGE_TONGA
));
4162 PyDict_SetItemString(d
,"wxLANGUAGE_TSONGA", PyInt_FromLong((long) wxLANGUAGE_TSONGA
));
4163 PyDict_SetItemString(d
,"wxLANGUAGE_TURKISH", PyInt_FromLong((long) wxLANGUAGE_TURKISH
));
4164 PyDict_SetItemString(d
,"wxLANGUAGE_TURKMEN", PyInt_FromLong((long) wxLANGUAGE_TURKMEN
));
4165 PyDict_SetItemString(d
,"wxLANGUAGE_TWI", PyInt_FromLong((long) wxLANGUAGE_TWI
));
4166 PyDict_SetItemString(d
,"wxLANGUAGE_UIGHUR", PyInt_FromLong((long) wxLANGUAGE_UIGHUR
));
4167 PyDict_SetItemString(d
,"wxLANGUAGE_UKRAINIAN", PyInt_FromLong((long) wxLANGUAGE_UKRAINIAN
));
4168 PyDict_SetItemString(d
,"wxLANGUAGE_URDU", PyInt_FromLong((long) wxLANGUAGE_URDU
));
4169 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_INDIA", PyInt_FromLong((long) wxLANGUAGE_URDU_INDIA
));
4170 PyDict_SetItemString(d
,"wxLANGUAGE_URDU_PAKISTAN", PyInt_FromLong((long) wxLANGUAGE_URDU_PAKISTAN
));
4171 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK", PyInt_FromLong((long) wxLANGUAGE_UZBEK
));
4172 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_CYRILLIC", PyInt_FromLong((long) wxLANGUAGE_UZBEK_CYRILLIC
));
4173 PyDict_SetItemString(d
,"wxLANGUAGE_UZBEK_LATIN", PyInt_FromLong((long) wxLANGUAGE_UZBEK_LATIN
));
4174 PyDict_SetItemString(d
,"wxLANGUAGE_VIETNAMESE", PyInt_FromLong((long) wxLANGUAGE_VIETNAMESE
));
4175 PyDict_SetItemString(d
,"wxLANGUAGE_VOLAPUK", PyInt_FromLong((long) wxLANGUAGE_VOLAPUK
));
4176 PyDict_SetItemString(d
,"wxLANGUAGE_WELSH", PyInt_FromLong((long) wxLANGUAGE_WELSH
));
4177 PyDict_SetItemString(d
,"wxLANGUAGE_WOLOF", PyInt_FromLong((long) wxLANGUAGE_WOLOF
));
4178 PyDict_SetItemString(d
,"wxLANGUAGE_XHOSA", PyInt_FromLong((long) wxLANGUAGE_XHOSA
));
4179 PyDict_SetItemString(d
,"wxLANGUAGE_YIDDISH", PyInt_FromLong((long) wxLANGUAGE_YIDDISH
));
4180 PyDict_SetItemString(d
,"wxLANGUAGE_YORUBA", PyInt_FromLong((long) wxLANGUAGE_YORUBA
));
4181 PyDict_SetItemString(d
,"wxLANGUAGE_ZHUANG", PyInt_FromLong((long) wxLANGUAGE_ZHUANG
));
4182 PyDict_SetItemString(d
,"wxLANGUAGE_ZULU", PyInt_FromLong((long) wxLANGUAGE_ZULU
));
4183 PyDict_SetItemString(d
,"wxLANGUAGE_USER_DEFINED", PyInt_FromLong((long) wxLANGUAGE_USER_DEFINED
));
4184 PyDict_SetItemString(d
,"wxLOCALE_CAT_NUMBER", PyInt_FromLong((long) wxLOCALE_CAT_NUMBER
));
4185 PyDict_SetItemString(d
,"wxLOCALE_CAT_DATE", PyInt_FromLong((long) wxLOCALE_CAT_DATE
));
4186 PyDict_SetItemString(d
,"wxLOCALE_CAT_MONEY", PyInt_FromLong((long) wxLOCALE_CAT_MONEY
));
4187 PyDict_SetItemString(d
,"wxLOCALE_CAT_MAX", PyInt_FromLong((long) wxLOCALE_CAT_MAX
));
4188 PyDict_SetItemString(d
,"wxLOCALE_THOUSANDS_SEP", PyInt_FromLong((long) wxLOCALE_THOUSANDS_SEP
));
4189 PyDict_SetItemString(d
,"wxLOCALE_DECIMAL_POINT", PyInt_FromLong((long) wxLOCALE_DECIMAL_POINT
));
4190 PyDict_SetItemString(d
,"wxLOCALE_LOAD_DEFAULT", PyInt_FromLong((long) wxLOCALE_LOAD_DEFAULT
));
4191 PyDict_SetItemString(d
,"wxLOCALE_CONV_ENCODING", PyInt_FromLong((long) wxLOCALE_CONV_ENCODING
));
4192 PyDict_SetItemString(d
,"wxCONVERT_STRICT", PyInt_FromLong((long) wxCONVERT_STRICT
));
4193 PyDict_SetItemString(d
,"wxCONVERT_SUBSTITUTE", PyInt_FromLong((long) wxCONVERT_SUBSTITUTE
));
4194 PyDict_SetItemString(d
,"wxPLATFORM_CURRENT", PyInt_FromLong((long) wxPLATFORM_CURRENT
));
4195 PyDict_SetItemString(d
,"wxPLATFORM_UNIX", PyInt_FromLong((long) wxPLATFORM_UNIX
));
4196 PyDict_SetItemString(d
,"wxPLATFORM_WINDOWS", PyInt_FromLong((long) wxPLATFORM_WINDOWS
));
4197 PyDict_SetItemString(d
,"wxPLATFORM_OS2", PyInt_FromLong((long) wxPLATFORM_OS2
));
4198 PyDict_SetItemString(d
,"wxPLATFORM_MAC", PyInt_FromLong((long) wxPLATFORM_MAC
));
4200 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
4203 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4204 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);