]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_cald.cpp
Changes that were in aclocal.m4 but not here
[wxWidgets.git] / contrib / src / xrc / xh_cald.cpp
index 70359323c98e751cf9494c12feb779cd7e6cce62..29ab1b9b94e0d0dbd02cfe9e0523d38a57f5cb1f 100644 (file)
@@ -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();
 }