]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/datectrl.cpp
no changes, just de TABified
[wxWidgets.git] / src / msw / datectrl.cpp
index 4e8a940ad683ab5a0126a7033e1d50d043906f51..68486ca9fdedf8f486b0ebf392839dfea9b0380f 100644 (file)
@@ -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