+void MyFrame::OnCalSeqMonth(wxCommandEvent& event)
+{
+ bool allow = GetMenuBar()->IsChecked(event.GetId());
+
+ m_panel->ToggleCalStyle(allow, wxCAL_SEQUENTIAL_MONTH_SELECTION);
+}
+
+void MyFrame::OnCalShowSurroundingWeeks(wxCommandEvent& event)
+{
+ bool allow = GetMenuBar()->IsChecked(event.GetId());
+
+ m_panel->ToggleCalStyle(allow, wxCAL_SHOW_SURROUNDING_WEEKS);
+}
+