diff mac/dw.m @ 1120:b2e060f43329

Initialize the calendar control to the current date during creation on Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 26 Aug 2011 02:44:15 +0000
parents 9ca5de2e59f8
children 7d7535f6bc4e
line wrap: on
line diff
--- 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;
 }