Mercurial > projects > dwt-mac
comparison dwt/widgets/Display.d @ 152:834420cb1486
Delete, arrow keys and backspace are now working in text fields
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 11 Jun 2009 01:20:52 +0200 |
parents | 1324fd764db4 |
children | 535243e6d16a |
comparison
equal
deleted
inserted
replaced
151:0ba75290f8ce | 152:834420cb1486 |
---|---|
3971 OS.memmove (result, &rect, NSRect.sizeof); | 3971 OS.memmove (result, &rect, NSRect.sizeof); |
3972 return result; | 3972 return result; |
3973 } else if (sel is OS.sel_insertText_) { | 3973 } else if (sel is OS.sel_insertText_) { |
3974 widget.insertText (id, sel, arg0); | 3974 widget.insertText (id, sel, arg0); |
3975 } else if (sel is OS.sel_doCommandBySelector_) { | 3975 } else if (sel is OS.sel_doCommandBySelector_) { |
3976 widget.doCommandBySelector (id, sel, cast(char*) arg0); | 3976 widget.doCommandBySelector (id, sel, cast(objc.SEL) arg0); |
3977 } else if (sel is OS.sel_highlightSelectionInClipRect_) { | 3977 } else if (sel is OS.sel_highlightSelectionInClipRect_) { |
3978 widget.highlightSelectionInClipRect (id, sel, arg0); | 3978 widget.highlightSelectionInClipRect (id, sel, arg0); |
3979 } else if (sel is OS.sel_reflectScrolledClipView_) { | 3979 } else if (sel is OS.sel_reflectScrolledClipView_) { |
3980 widget.reflectScrolledClipView (id, sel, arg0); | 3980 widget.reflectScrolledClipView (id, sel, arg0); |
3981 } else if (sel is OS.sel_accessibilityHitTest_) { | 3981 } else if (sel is OS.sel_accessibilityHitTest_) { |