}
+SWIGINTERN PyObject *_wrap_delete_CalendarDateAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+ PyObject *resultobj = 0;
+ wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
+ void *argp1 = 0 ;
+ int res1 = 0 ;
+ PyObject *swig_obj[1] ;
+
+ if (!args) SWIG_fail;
+ swig_obj[0] = args;
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_DISOWN | 0 );
+ if (!SWIG_IsOK(res1)) {
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CalendarDateAttr" "', expected argument " "1"" of type '" "wxCalendarDateAttr *""'");
+ }
+ arg1 = reinterpret_cast< wxCalendarDateAttr * >(argp1);
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ delete arg1;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_Py_Void();
+ return resultobj;
+fail:
+ return NULL;
+}
+
+
SWIGINTERN PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0;
wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
- void *argp3 = 0 ;
int res3 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalendarCtrl_SetAttr" "', expected argument " "2"" of type '" "size_t""'");
}
arg2 = static_cast< size_t >(val2);
- res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxCalendarDateAttr, 0 | 0 );
+ res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CalendarCtrl_SetAttr" "', expected argument " "3"" of type '" "wxCalendarDateAttr *""'");
+ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CalendarCtrl_SetAttr" "', expected argument " "3"" of type '" "wxCalendarDateAttr *""'");
}
- arg3 = reinterpret_cast< wxCalendarDateAttr * >(argp3);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetAttr(arg2,arg3);
static PyMethodDef SwigMethods[] = {
{ (char *)"new_CalendarDateAttr", (PyCFunction) _wrap_new_CalendarDateAttr, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"delete_CalendarDateAttr", (PyCFunction)_wrap_delete_CalendarDateAttr, METH_O, NULL},
{ (char *)"CalendarDateAttr_SetTextColour", (PyCFunction) _wrap_CalendarDateAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CalendarDateAttr_SetBackgroundColour", (PyCFunction) _wrap_CalendarDateAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"CalendarDateAttr_SetBorderColour", (PyCFunction) _wrap_CalendarDateAttr_SetBorderColour, METH_VARARGS | METH_KEYWORDS, NULL},