X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03b9d4585c6b087330598205d7e1de5ac10592b..120249f602e466e8a47bbb345043cf379552aa3d:/src/xrc/xh_cald.cpp diff --git a/src/xrc/xh_cald.cpp b/src/xrc/xh_cald.cpp index 70359323c9..29ab1b9b94 100644 --- a/src/xrc/xh_cald.cpp +++ b/src/xrc/xh_cald.cpp @@ -27,6 +27,7 @@ #include "wx/event.h" #include "wx/calctrl.h" +IMPLEMENT_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler, wxXmlResourceHandler) wxCalendarCtrlXmlHandler::wxCalendarCtrlXmlHandler() : wxXmlResourceHandler() @@ -36,6 +37,9 @@ wxCalendarCtrlXmlHandler::wxCalendarCtrlXmlHandler() XRC_ADD_STYLE(wxCAL_SHOW_HOLIDAYS); XRC_ADD_STYLE(wxCAL_NO_YEAR_CHANGE); XRC_ADD_STYLE(wxCAL_NO_MONTH_CHANGE); + XRC_ADD_STYLE(wxCAL_SEQUENTIAL_MONTH_SELECTION); + XRC_ADD_STYLE(wxCAL_SHOW_SURROUNDING_WEEKS); + AddWindowStyles(); }