If I override the CanCut and CanPaste methods in my own subclass of
wx.richtext.RichTextCtrl, the contextual menu that appears when you
right-click in the control pays no attention to the values my methods
return.
Is that the expected behavior, based on some weird interaction between
the underlying C++ code and the Python, or is it a bug in that the
RichTextCtrl isn't checking CanCut and CanPaste to know which menu
items should be grayed out?
If I override the CanCut and CanPaste methods in my own subclass of
wx.richtext.RichTextCtrl, the contextual menu that appears when you
right-click in the control pays no attention to the values my methods
return.
Is that the expected behavior, based on some weird interaction between
the underlying C++ code and the Python, or is it a bug in that the
RichTextCtrl isn't checking CanCut and CanPaste to know which menu
items should be grayed out?