diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java index 59a84e9cc8..0bdd9a1581 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java @@ -145,7 +145,7 @@ public Point computeSize (int wHint, int hHint, boolean changed) { void createHandle () { NSDatePicker widget = (NSDatePicker)new SWTDatePicker().alloc(); - widget.initWithFrame(new NSRect()); + widget.init(); int pickerStyle = OS.NSTextFieldAndStepperDatePickerStyle; int elementFlags = 0; if ((style & SWT.CALENDAR) != 0) { |