Applied patch [ 1184295 ] wxDateTimePickerCtrl Create() fix for wxDP_ALLOWNONE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-04-17 13:17:32 +00:00
parent d2fc28b197
commit bab3f3eac4

View File

@@ -141,7 +141,7 @@ wxDatePickerCtrl::Create(wxWindow *parent,
if ( !MSWCreateControl(DATETIMEPICK_CLASS, wxEmptyString, pos, size) ) if ( !MSWCreateControl(DATETIMEPICK_CLASS, wxEmptyString, pos, size) )
return false; return false;
if ( dt.IsValid() ) if ( dt.IsValid() || (style & wxDP_ALLOWNONE) )
SetValue(dt); SetValue(dt);
return true; return true;