Alwayas use SetValue in Create so m_date will be in sync

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-11-09 18:00:48 +00:00
parent 1cb311851d
commit 4d5364211d

View File

@ -156,6 +156,8 @@ wxDatePickerCtrl::Create(wxWindow *parent,
if ( dt.IsValid() || (style & wxDP_ALLOWNONE) )
SetValue(dt);
else
SetValue(wxDateTime::Today());
return true;
}