Mercurial > projects > dwt-mac
diff dwt/DWT.d @ 45:d8635bb48c7c
Merge with SWT 3.5
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Dec 2008 17:07:00 +0100 |
parents | 642f460a0908 |
children | c74ba20de292 |
line wrap: on
line diff
--- a/dwt/DWT.d Tue Oct 21 15:20:04 2008 +0200 +++ b/dwt/DWT.d Mon Dec 01 17:07:00 2008 +0100 @@ -1,5 +1,5 @@ -/******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. +/******************************************************************************* + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -9,7 +9,7 @@ * IBM Corporation - initial API and implementation * * Port to the D programming language: - * Jacob Carlborg <jacob.carlborg@gmail.com> + * Jacob Carlborg <doob@me.com> *******************************************************************************/ module dwt.DWT; @@ -40,6 +40,8 @@ * <em>HINT</em> may change from release to release, although we typically * will not withdraw support for a <em>HINT</em> once it is made available. * </p> + * + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> */ /* NOTE: @@ -414,7 +416,9 @@ * @see dwt.widgets.Display#addFilter * @see dwt.widgets.Event * + * @see dwt.custom.CCombo#addVerifyListener * @see dwt.widgets.Combo#addVerifyListener + * @see dwt.custom.StyledText#addVerifyListener * @see dwt.widgets.Text#addVerifyListener * @see dwt.events.VerifyListener#verifyText * @see dwt.events.VerifyEvent @@ -3692,7 +3696,7 @@ /** * Returns the DWT version number as an integer. - * Example: "DWT051" is 51 + * Example: "SWT051" is 51 * * @return the DWT version number */ @@ -3877,7 +3881,7 @@ * to stop the compiler from inlining. */ String platform = getPlatform(); - if ("carbon".equals(platform)) { //$NON-NLS-1$ + if ("carbon".equals (platform) || "cocoa".equals (platform)) { //$NON-NLS-1$ //$NON-NLS-2$ MOD1 = COMMAND; MOD2 = SHIFT; MOD3 = ALT;