Re: How to create Wx::KeyEvent objects and set KeyCode?
Erik Colson <[email protected]> Wed, 24 Aug 2016 09:34:27 +0200
| Newsgroups | gmane.comp.lang.perl.wxperl |
|---|---|
| Message-ID | <[email protected]> |
For a TextCtrl you can use setSerlection. From the wxwidgets doc: virtual void wxTextEntry::SetSelection (long from, long to) Selects the text starting at the first position up to (but not including) the character at the last position. If both parameters are equal to -1 all text in the control is selected. best -- erik colson