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