// 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;
- m_date.ResetTime();
+ if ( m_date.IsValid() )
+ m_date.ResetTime();
}
+#include <iostream>
+
wxDateTime wxDatePickerCtrl::GetValue() const
{
#ifdef __WXDEBUG__