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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user