X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d5364211d1647e6a7ef52acb947f1c592425fdb..fcb29b233888f7012ca6cf486c8287f5463787e0:/src/msw/datectrl.cpp diff --git a/src/msw/datectrl.cpp b/src/msw/datectrl.cpp index 4e8a940ad6..68486ca9fd 100644 --- a/src/msw/datectrl.cpp +++ b/src/msw/datectrl.cpp @@ -256,7 +256,7 @@ void wxDatePickerCtrl::SetValue(const wxDateTime& dt) wxLogDebug(_T("DateTime_SetSystemtime() failed")); } - wxFromSystemTime(&m_date, st); + m_date = dt; } wxDateTime wxDatePickerCtrl::GetValue() const