X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a559d70856c65f8fd91d6e56c3e98c3828e18db7..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/src/xml/xh_cald.cpp diff --git a/contrib/src/xml/xh_cald.cpp b/contrib/src/xml/xh_cald.cpp index 5e980a478f..dbd0a05122 100644 --- a/contrib/src/xml/xh_cald.cpp +++ b/contrib/src/xml/xh_cald.cpp @@ -20,6 +20,7 @@ #endif #include "wx/xml/xh_cald.h" +#include "wx/event.h" #include "wx/calctrl.h" @@ -37,7 +38,7 @@ wxCalendarCtrlXmlHandler::wxCalendarCtrlXmlHandler() wxObject *wxCalendarCtrlXmlHandler::DoCreateResource() { - wxCalendarCtrl *calendar = new wxCalendarCtrl(m_ParentAsWindow, + wxCalendarCtrl *calendar = new wxCalendarCtrl(m_parentAsWindow, GetID(), wxDefaultDateTime, /*TODO: take it from resource*/