Remove check for DTS_SHORTDATECENTURYFORMAT
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb761728(v=vs.85).aspx>
This commit is contained in:
parent
3b97482dbc
commit
e21c82f2fe
@ -74,11 +74,9 @@ WXDWORD wxDatePickerCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
|
||||
styleMSW |= DTS_UPDOWN;
|
||||
//else: drop down by default
|
||||
|
||||
#ifdef DTS_SHORTDATECENTURYFORMAT
|
||||
if ( style & wxDP_SHOWCENTURY )
|
||||
styleMSW |= DTS_SHORTDATECENTURYFORMAT;
|
||||
else
|
||||
#endif // DTS_SHORTDATECENTURYFORMAT
|
||||
styleMSW |= DTS_SHORTDATEFORMAT;
|
||||
|
||||
if ( style & wxDP_ALLOWNONE )
|
||||
|
Loading…
Reference in New Issue
Block a user