No hadn't got that far, just putting the gui together. Whatever the case,
surely it shouldn't do that!!!!
Regards, and thanks muchly again for such fantastic work on all this.
Richard
···
On Thursday 21 December 2006 08:47, Robin Dunn wrote:
Richard Terry wrote:
> doBind( tbar.AddTool(wx.ID_PASTE, images.get_rt_pasteBitmap(),
> shortHelpString="Paste"), self.ForwardEvent, self.ForwardEvent)
>
> traceback (most recent call last):
> File "/home/richard/coding/aumed/rt_rtc.py", line 265, in ForwardEvent
> self.rtc.ProcessEvent(evt)
> RuntimeError: maximum recursion depth exceeded (repeated ad-infinitum)ForwardEvent is simply sending the event on to the RichTextCtrl which is
supposed to know how to handle it, but apparently it is not in your case
and so the event is coming back to the frame and ForwardEvent is getting
called again, and again...Are you disabling the Paste menu and toolbar items when there is nothing
available to be pasted from the clipboard?