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:
@@ -141,7 +141,7 @@ wxDatePickerCtrl::Create(wxWindow *parent,
|
||||
if ( !MSWCreateControl(DATETIMEPICK_CLASS, wxEmptyString, pos, size) )
|
||||
return false;
|
||||
|
||||
if ( dt.IsValid() )
|
||||
if ( dt.IsValid() || (style & wxDP_ALLOWNONE) )
|
||||
SetValue(dt);
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user