Hi!
I am facing an issue which I suspect may be a bug, but before filing a bug report, or become crazy trying to debug my problem, I would like to ask whether this could be instead something expected.
As per the topic title I’m trying to subclass GridCellNumberEditor
(in order to make it accept also empty strings); as soon as I override EndEdit()
and I call the superclass EndEdit()
version in my method i.e. return wx.grid.GridCellNumberEditor.EndEdit( .... )
I got infinite recursion. (using super()
leads to the same result).
Given that I’m not a python expert and I don’t know how the wxWidgets -> wxPython wrapping mechanism works, I’m wondering whether it is possible to subclass any class, or whether only certain classes have been explicitly designed to be subclassed, or something like that.
Is indeed possible to subclass any wxpy class, or is there some limitation on that?
Thanks
Andrea