wxTextCtrl with wxTE_RICH2 as Plane text editor

Vadim Zeitlin vadim at wxwidgets.org
Sun Jan 6 04:58:57 PST 2008


On Sun, 06 Jan 2008 12:44:20 -0800 Tyushkov Nikolay <wx at softvoile.com> wrote:

TN> I have tryed to override Copy() for wxTextCtrl to copy only plane text 
                                                                ^^^^^^^^^^
 I think you mean "plain text".

TN> to clipboard, this function is called when I select 'paste' from menu 
TN> but not when I press ctrl+c on keyboard

 You need to use EVT_TEXT_COPY/PASTE to override this.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list