+static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxSize *arg1 = 0 ;
+ wxFontFamily arg2 ;
+ int arg3 = (int) wxFONTFLAG_DEFAULT ;
+ wxString const &arg4_defvalue = wxEmptyString ;
+ wxString *arg4 = (wxString *) &arg4_defvalue ;
+ wxFontEncoding arg5 = (wxFontEncoding) wxFONTENCODING_DEFAULT ;
+ wxFont *result;
+ wxSize temp1 ;
+ bool temp4 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ char *kwnames[] = {
+ (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
+ {
+ arg1 = &temp1;
+ if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
+ }
+ {
+ arg2 = (wxFontFamily)(SWIG_As_int(obj1));
+ if (SWIG_arg_fail(2)) SWIG_fail;
+ }
+ if (obj2) {
+ {
+ arg3 = (int)(SWIG_As_int(obj2));
+ if (SWIG_arg_fail(3)) SWIG_fail;
+ }
+ }
+ if (obj3) {
+ {
+ arg4 = wxString_in_helper(obj3);
+ if (arg4 == NULL) SWIG_fail;
+ temp4 = true;
+ }
+ }
+ if (obj4) {
+ {
+ arg5 = (wxFontEncoding)(SWIG_As_int(obj4));
+ if (SWIG_arg_fail(5)) SWIG_fail;
+ }
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxFont *)new_wxFont((wxSize const &)*arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp4)
+ delete arg4;
+ }
+ return NULL;
+}
+
+