changeset 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 e8e7f048f0b8
children fb92778105b2
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 }