Copy/paste mechanism

What is the mechanism in use by default with, say, wx.TextCtrl's
whereby when I highlight some text and press Ctrl+C it will
copy, Ctrl+V it will paste, etc.

I don't think it is wx.TextCtrl.Copy() because 1) the docs say
that is for Windows and Motif only, and 2) I'm on Linux and I
tried doing that manually and it didn't work.

I'm asking because I want to add a default Edit menu, complete
with Copy, Paste, Cut, Redo, Undo, etc. and want to know what I
should be hooking my EVT_MENU's into to make this work the same
as the default behavior of the text controls.

While I could certainly work with wx.Clipboard myself, I'm
thinking this isn't necessary but am just missing the right
page to be reading in the docs.

Any insight? Thanks!

···

--
Paul

Paul McNett wrote:

While I could certainly work with wx.Clipboard myself, I'm thinking this isn't necessary but am just missing the right page to be reading in the docs.

Until the wxGTK2 versions of the Copy/Paste/etc. methods are implemented that is when you will need to do.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!