From c125040724ae879a10f692f1122af2b4f0b5f652 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 24 Aug 2003 11:30:14 +0000 Subject: [PATCH] Added missing wxCalendarCtrl styles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/xh_cald.cpp | 3 +++ src/xrc/xh_cald.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/contrib/src/xrc/xh_cald.cpp b/contrib/src/xrc/xh_cald.cpp index 15c58fc797..29ab1b9b94 100644 --- a/contrib/src/xrc/xh_cald.cpp +++ b/contrib/src/xrc/xh_cald.cpp @@ -37,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(); } diff --git a/src/xrc/xh_cald.cpp b/src/xrc/xh_cald.cpp index 15c58fc797..29ab1b9b94 100644 --- a/src/xrc/xh_cald.cpp +++ b/src/xrc/xh_cald.cpp @@ -37,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(); }