+#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"));
+#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
+