X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f03b9d4585c6b087330598205d7e1de5ac10592b..25088f1eea365f0da7aeb565932dd4fe0fd5d20e:/contrib/src/xrc/xh_cald.cpp diff --git a/contrib/src/xrc/xh_cald.cpp b/contrib/src/xrc/xh_cald.cpp index 70359323c9..29ab1b9b94 100644 --- a/contrib/src/xrc/xh_cald.cpp +++ b/contrib/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(); }