# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1314326655 0 # Node ID b2e060f43329e1d41ec517e70b3f9dc8f782a991 # Parent e8e7f048f0b87bb5753ae435b4bb064fdeb29b41 Initialize the calendar control to the current date during creation on Mac. diff -r e8e7f048f0b8 -r b2e060f43329 mac/dw.m --- a/mac/dw.m Thu Aug 25 21:12:25 2011 +0000 +++ b/mac/dw.m Fri Aug 26 02:44:15 2011 +0000 @@ -6331,6 +6331,7 @@ [calendar setDatePickerStyle:NSClockAndCalendarDatePickerStyle]; [calendar setDatePickerElements:NSYearMonthDayDatePickerElementFlag]; [calendar setTag:cid]; + [calendar setDateValue:[NSDate date]]; return calendar; }