Fix for always failing assert in GetValue. Save the same value that

will be tested for there (the date without any time set.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-01 07:09:21 +00:00
parent 1c5decd0b8
commit 82ec1f7035

View File

@@ -254,7 +254,7 @@ void wxDatePickerCtrl::SetValue(const wxDateTime& dt)
wxLogDebug(_T("DateTime_SetSystemtime() failed"));
}
m_date = dt;
wxFromSystemTime(&m_date, st);
}
wxDateTime wxDatePickerCtrl::GetValue() const