Displaying 1 result from an estimated 1 matches for "accel_ctrl".
2006 Dec 31
0
[816] trunk/wxruby2: Added AcceleratorTable and AcceleratorTable classes, plus documentation
...y method String[0] to
+retrieve the integer keycode corresponding to an alphanumeric key,
+and the use of the Wx::K_XXX constant to get the keycode for a
+non-alphanumeric key.
</ins><span class="cx">
</span><del>- AcceleratorEntry entries[4];
- entries[0].Set(ACCEL_CTRL, (int) ''N'', ID_NEW_WINDOW);
- entries[1].Set(ACCEL_CTRL, (int) ''X'', ID_EXIT);
- entries[2].Set(ACCEL_SHIFT, (int) ''A'', ID_ABOUT);
- entries[3].Set(ACCEL_NORMAL, WXK_DELETE, ID_CUT);
- AcceleratorTable accel(4, entries);...