SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxButton *arg1 = (wxButton *) 0 ;
+ wxWindow *result = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
arg1 = reinterpret_cast< wxButton * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- (arg1)->SetDefault();
+ result = (wxWindow *)(arg1)->SetDefault();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_Py_Void();
+ {
+ resultobj = wxPyMake_wxObject(result, 0);
+ }
return resultobj;
fail:
return NULL;