const wxDateTime& date = wxDefaultDateTime,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wxCAL_SHOW_HOLIDAYS,
+ long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS,
const char* name = "calendar");
+ %name(wxPreCalendarCtrl)wxCalendarCtrl();
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxDateTime& date = wxDefaultDateTime,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS,
+ const char* name = "calendar");
// set/get the current date
// ------------------------
//---------------------------------------------------------------------------
+
+%init %{
+ wxClassInfo::CleanUpClasses();
+ wxClassInfo::InitializeClasses();
+%}
+
//---------------------------------------------------------------------------
%pragma(python) include="_calextras.py";