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