#include <wx/calctrl.h>
-
- DECLARE_DEF_STRING(CalendarNameStr);
-
+ static const wxString wxPyCalendarNameStr(wxCalendarNameStr);
#ifdef __cplusplus
extern "C" {
#endif
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
+static int _wrap_CalendarNameStr_set(PyObject *_val) {
+ PyErr_SetString(PyExc_TypeError,"Variable CalendarNameStr is read-only.");
+ return 1;
+}
+
+
+static PyObject *_wrap_CalendarNameStr_get() {
+ PyObject *pyobj;
+
+ {
+#if wxUSE_UNICODE
+ pyobj = PyUnicode_FromWideChar((&wxPyCalendarNameStr)->c_str(), (&wxPyCalendarNameStr)->Len());
+#else
+ pyobj = PyString_FromStringAndSize((&wxPyCalendarNameStr)->c_str(), (&wxPyCalendarNameStr)->Len());
+#endif
+ }
+ return pyobj;
+}
+
+
static PyObject *_wrap_new_CalendarCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
PyDict_SetItemString(d, "wxEVT_CALENDAR_MONTH_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_MONTH_CHANGED));
PyDict_SetItemString(d, "wxEVT_CALENDAR_YEAR_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_YEAR_CHANGED));
PyDict_SetItemString(d, "wxEVT_CALENDAR_WEEKDAY_CLICKED", PyInt_FromLong(wxEVT_CALENDAR_WEEKDAY_CLICKED));
+ PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
+ SWIG_addvarlink(SWIG_globals,(char*)"CalendarNameStr",_wrap_CalendarNameStr_get, _wrap_CalendarNameStr_set);
}