- menuCal->Append(Calendar_Cal_SetDate, _T("SetDate()"), _T("Set date to 2005-12-24."));
- menuCal->Append(Calendar_Cal_Today, _T("Today()"), _T("Set the current date."));
+ menuCal->Append(Calendar_Cal_SetDate, _T("Call &SetDate(2005-12-24)"), _T("Set date to 2005-12-24."));
+ menuCal->Append(Calendar_Cal_Today, _T("Call &Today()"), _T("Set to the current date."));
+ menuCal->Append(Calendar_Cal_BeginDST, "Call SetDate(GetBeginDST())");
+ menuCal->AppendSeparator();
+ menuCal->AppendCheckItem(Calendar_Cal_Resizable, _T("Make &resizable\tCtrl-R"));
+
+#if wxUSE_DATEPICKCTRL
+ wxMenu *menuDate = new wxMenu;
+ menuDate->AppendCheckItem(Calendar_DatePicker_ShowCentury,
+ _T("Al&ways show century"));
+ menuDate->AppendCheckItem(Calendar_DatePicker_DropDown,
+ _T("Use &drop down control"));
+ menuDate->AppendCheckItem(Calendar_DatePicker_AllowNone,
+ _T("Allow &no date"));
+ menuDate->AppendCheckItem(Calendar_DatePicker_StartWithNone,
+ _T("Start &with no date"));
+#if wxUSE_DATEPICKCTRL_GENERIC
+ menuDate->AppendCheckItem(Calendar_DatePicker_Generic,
+ _T("Use &generic version of the control"));
+#endif // wxUSE_DATEPICKCTRL_GENERIC
+ menuDate->AppendSeparator();
+ menuDate->Append(Calendar_DatePicker_AskDate, _T("&Choose date...\tCtrl-D"), _T("Show dialog with wxDatePickerCtrl"));
+#endif // wxUSE_DATEPICKCTRL