move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-04-01 23:43:34 +00:00
parent 09902c517e
commit bf956fac0e
4 changed files with 87 additions and 26 deletions

View File

@@ -449,13 +449,7 @@ void MyFrame::OnCalMonday(wxCommandEvent& event)
void MyFrame::OnCalHolidays(wxCommandEvent& event)
{
wxCalendarCtrlBase * cal = m_panel->GetCal();
#ifdef wxHAS_NATIVE_CALENDARCTRL
wxStaticCast(cal, wxGenericCalendarCtrl)
#else
cal
#endif
->EnableHolidayDisplay(event.IsChecked());
m_panel->GetCal()->EnableHolidayDisplay(event.IsChecked());
}
void MyFrame::OnCalSpecial(wxCommandEvent& event)