-#define wxConfig_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
-static PyObject *_wrap_wxConfig_SetAppName(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxConfig * _arg0;
- wxString * _arg1;
- char * _argc0 = 0;
- PyObject * _obj1 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sO:wxConfig_SetAppName",&_argc0,&_obj1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxConfig_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxConfig_SetAppName. Expected _wxConfig_p.");
- return NULL;
- }
- }
-{
- if (!PyString_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
- return NULL;
- }
- _arg1 = new wxString(PyString_AsString(_obj1));
-}
- wxConfig_SetAppName(_arg0,*_arg1);
- Py_INCREF(Py_None);
- _resultobj = Py_None;
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("d",_result);