I have just downloaded wxPython 2.9.1.1 from Sourceforge.
Apparently, the DoPrepareDC method is missing from class
wx.ScrolledWindow. The method used to be there in wxPython 2.8, and
according to the documentation of wxWidgets it is part of
wxScrolled<T>, if I'm not wrong.
I would like to congratulate and thank Robin for his hard work.
Luca
I have just downloaded wxPython 2.9.1.1 from Sourceforge.
Apparently, the DoPrepareDC method is missing from class
wx.ScrolledWindow. The method used to be there in wxPython 2.8, and
according to the documentation of wxWidgets it is part of
wxScrolled<T>, if I'm not wrong.
Use PrepareDC instead. AFAIK DoPrepareDC was always an "implementation detail" and not intended to be part of the public API.
I would like to congratulate and thank Robin for his hard work.
Thanks. It's not officially released yet as I'm still updating the web site and creating the general announcements, but I do expect that the binaries currently on SF are the ones that will be released so it's okay that the cat is out of the bag a little early.
> Apparently, the DoPrepareDC method is missing from class
> wx.ScrolledWindow. The method used to be there in wxPython 2.8, and
> according to the documentation of wxWidgets it is part of
> wxScrolled<T>, if I'm not wrong.
Use PrepareDC instead. AFAIK DoPrepareDC was always an "implementation
detail" and not intended to be part of the public API.
Well, that's not quite how it was in the headers. PrepareDC still exists in wxWindow, but DoPrepareDC was removed from there (which is why I removed it) but I didn't see that both are now redeclared in wxScrollHelper. I'll change things to better match the docs.
···
On 10/19/10 11:07 PM, l.allulli wrote:
Apparently, the DoPrepareDC method is missing from class
wx.ScrolledWindow. The method used to be there in wxPython 2.8, and
according to the documentation of wxWidgets it is part of
wxScrolled<T>, if I'm not wrong.
Use PrepareDC instead. AFAIK DoPrepareDC was always an "implementation
detail" and not intended to be part of the public API.