initial native implementation of wxCalendarCtrl for MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-04-04 04:17:03 +00:00
parent 72da405773
commit 5131749617
20 changed files with 869 additions and 114 deletions

View File

@@ -639,6 +639,17 @@ bool wxGenericCalendarCtrl::SetDateRange(const wxDateTime& lowerdate /* = wxDefa
return retval;
}
bool wxGenericCalendarCtrl::GetDateRange(wxDateTime *lowerdate,
wxDateTime *upperdate) const
{
if ( lowerdate )
*lowerdate = m_lowdate;
if ( upperdate )
*upperdate = m_highdate;
return m_lowdate.IsValid() || m_highdate.IsValid();
}
// ----------------------------------------------------------------------------
// date helpers
// ----------------------------------------------------------------------------