Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/NSDatePicker.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | d8635bb48c7c |
children |
comparison
equal
deleted
inserted
replaced
122:2e671fa40eec | 123:63a09873578e |
---|---|
67 | 67 |
68 public static objc.Class cellClass() { | 68 public static objc.Class cellClass() { |
69 return cast(objc.Class) OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_cellClass); | 69 return cast(objc.Class) OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_cellClass); |
70 } | 70 } |
71 | 71 |
72 public static void setCellClass(int /*long*/ factoryId) { | 72 public static void setCellClass(objc.Class factoryId) { |
73 OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_setCellClass_, factoryId); | 73 OS.objc_msgSend(OS.class_NSDatePicker, OS.sel_setCellClass_, factoryId); |
74 } | 74 } |
75 | 75 |
76 } | 76 } |
77 | |
78 enum NSDatePickerElementFlags : NSUInteger | |
79 { | |
80 NSHourMinuteDatePickerElementFlag = 0x000c, | |
81 NSHourMinuteSecondDatePickerElementFlag = 0x000e, | |
82 NSTimeZoneDatePickerElementFlag = 0x0010, | |
83 NSYearMonthDatePickerElementFlag = 0x00c0, | |
84 NSYearMonthDayDatePickerElementFlag = 0x00e0, | |
85 NSEraDatePickerElementFlag = 0x0100, | |
86 } | |
87 | |
88 enum NSDatePickerStyle : NSUInteger | |
89 { | |
90 NSTextFieldAndStepperDatePickerStyle = 0, | |
91 NSClockAndCalendarDatePickerStyle = 1, | |
92 NSTextFieldDatePickerStyle = 2 | |
93 } |