The rich_textcrl sample contains code the pretends to install keyboard shortcuts, when in fact it does nothing at all.
None of the five evt_tool(Wx::ID_UNDO) etc. handlers are ever called, and removing them and the AcceleratorTable definition
doesn't change the behavior of the program in the slightest bit. All the code does is confusing the reader of the program
into thinking that the keyboard shortcuts that seem to be hardwired into Wx::RichTextCtrl can be controlled
programmatically. |