]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/datectrl.cpp
added missing blank line
[wxWidgets.git] / src / msw / datectrl.cpp
index 84fa85f9a151616edafbd6a3292dac29cdc8a25e..4e8a940ad683ab5a0126a7033e1d50d043906f51 100644 (file)
@@ -156,6 +156,8 @@ wxDatePickerCtrl::Create(wxWindow *parent,
 
     if ( dt.IsValid() || (style & wxDP_ALLOWNONE) )
         SetValue(dt);
+    else
+        SetValue(wxDateTime::Today());
 
     return true;
 }