It's worth a try. The code is basically already there for the EVT_CHILD_FOCUS handler, so refactoring it into a public method would not be too difficult.
···
On 9/1/12 11:38 PM, Werner wrote:
On 01/09/2012 15:21, C M wrote:
Not sure how to do it with wx.ScrolledWindow, but if you could use
wx.lib.scrolledpanel.ScrolledPanel, it has a method:
ScrollChildIntoView(child)
It would be nice if this would be in "Scrolled", so it would be
available for ScrolledWindow and ScrolledCanvas.
Robin, you think an enhancement request for this is reasonable or is
there another way of doing it with these classes?
Not sure how to do it with wx.ScrolledWindow, but if you could use
wx.lib.scrolledpanel.ScrolledPanel, it has a method:
ScrollChildIntoView(child)
It would be nice if this would be in "Scrolled", so it would be
available for ScrolledWindow and ScrolledCanvas.
Robin, you think an enhancement request for this is reasonable or is
there another way of doing it with these classes?
It's worth a try. The code is basically already there for the EVT_CHILD_FOCUS handler, so refactoring it into a public method would not be too difficult.