git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44347
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// we need to keep only the date part, times don't make sense for this
// control (in particular, comparisons with other dates would fail)
m_date = dt;
// we need to keep only the date part, times don't make sense for this
// control (in particular, comparisons with other dates would fail)
m_date = dt;
+ if ( m_date.IsValid() )
+ m_date.ResetTime();
}
wxDateTime wxDatePickerCtrl::GetValue() const
}
wxDateTime wxDatePickerCtrl::GetValue() const