Past Veto

Efraín López tecnomaya at cabsagt.com
Fri Oct 26 17:28:10 PDT 2007


Hi, using 2.8.6 and wxWIN

I have a class derived from wxTextCtrl

I need to veto the past event

I can catch the event with =

EVT_COMMAND( wxID_ANY, wxID_PASTE, myclass::OnPaste )

or =


EVT_TEXT_PASTE( wxID_ANY, wxID_PASTE, myclass::OnPaste )



but I can't find the way to veto the event

wxClipboardTextEvent docs says if I don't skip the event, it doesn't take p=
lace, but in my case, it is always pasted



can someone can help me how to do this?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20071026/967=
106ce/attachment.htm


More information about the wx-users mailing list