Mercurial > projects > dwt-mac
diff dwt/widgets/MenuItem.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | 7d135fe0caf2 |
children | d8635bb48c7c |
line wrap: on
line diff
--- a/dwt/widgets/MenuItem.d Tue Oct 07 12:56:18 2008 +0200 +++ b/dwt/widgets/MenuItem.d Fri Oct 10 12:29:48 2008 +0200 @@ -7,7 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation - * +* * Port to the D programming language: * Jacob Carlborg <jacob.carlborg@gmail.com> *******************************************************************************/ @@ -571,7 +571,7 @@ } else { str = NSString.stringWith (Integer.toString(key)).lowercaseString(); } - nsItem.setKeyEquivalent (string); + nsItem.setKeyEquivalent (str); int mask = 0; if ((accelerator & DWT.SHIFT) !is 0) mask |= OS.NSShiftKeyMask; if ((accelerator & DWT.CONTROL) !is 0) mask |= OS.NSControlKeyMask;