* Copy-paste the code for OnChar in the wxTextCtrl. * This implements two features: 1. This adds support for the wxTE_PROCESS_ENTER style. 2. Support for pressing the default button in a dialog if there is one.
* Copy-paste the code for OnChar in the wxTextCtrl. * This implements two features: 1. This adds support for the wxTE_PROCESS_ENTER style. 2. Support for pressing the default button in a dialog if there is one.