No wx.EVT_TEXT generated for Mac right-click paste

Hi folks,

Some time back Cody suggested using:

   wx.SystemOptions.SetOptionInt("mac.textcontrol-use-spell-checker",
1)

to provide a contextual menu for a wx.TextCtrl on the Mac. I just
noticed that apparently no wx.EVT_TEXT is generated on a paste
operation using this pop-up menu. I've checked the online wx docs and
Google quite a bit but can't find any reference to this. I'm using
wxPython 2.8.11.0 and Python 2.6.6 with Mac OS 10.5.8. Normal Mac
keyboard shortcuts work fine, but I'd also like to get the right-click/
paste working. Any suggestions how to fix this?

Thanks,
Dan

If there's a wx.EVT_TEXT when pasting with the keyboard shortcut then I suppose there should be from the context menu too. Please create a ticket about this at trac.wxwidgets.org.

···

On 12/26/10 9:46 AM, Dan wrote:

Hi folks,

Some time back Cody suggested using:

    wx.SystemOptions.SetOptionInt("mac.textcontrol-use-spell-checker",
1)

to provide a contextual menu for a wx.TextCtrl on the Mac. I just
noticed that apparently no wx.EVT_TEXT is generated on a paste
operation using this pop-up menu. I've checked the online wx docs an
Google quite a bit but can't find any reference to this. I'm using
wxPython 2.8.11.0 and Python 2.6.6 with Mac OS 10.5.8. Normal Mac
keyboard shortcuts work fine, but I'd also like to get the right-click/
paste working. Any suggestions how to fix this?

--
Robin Dunn
Software Craftsman