File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Eclipse SWT PI/win32/org/eclipse/swt/internal/win32
Eclipse SWT/win32/org/eclipse/swt/widgets Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ public class OS extends C {
8686 public static final int AC_SRC_OVER = 0 ;
8787 public static final int AC_SRC_ALPHA = 1 ;
8888 public static final int ALTERNATE = 1 ;
89+ public static final int APPCOMMAND_COPY = 36 ;
90+ public static final int APPCOMMAND_CUT = 37 ;
91+ public static final int APPCOMMAND_PASTE = 38 ;
8992 public static final int ASSOCF_NOTRUNCATE = 0x00000020 ;
9093 public static final int ASSOCF_INIT_IGNOREUNKNOWN = 0x400 ;
9194 public static final int ASSOCSTR_COMMAND = 1 ;
Original file line number Diff line number Diff line change @@ -503,6 +503,9 @@ public class Display extends Device implements Executor {
503503 {OS .VK_SNAPSHOT , SWT .PRINT_SCREEN },
504504// {OS.VK_????, SWT.HELP},
505505
506+ {OS .APPCOMMAND_COPY , SWT .COPY },
507+ {OS .APPCOMMAND_CUT , SWT .CUT },
508+ {OS .APPCOMMAND_PASTE , SWT .PASTE },
506509 };
507510
508511 /* Multiple Displays */
You can’t perform that action at this time.
0 commit comments