PyControl docstrings refer to PyScrolledWindow

I think there's a typo in the PyControl documentation -
http://www.wxpython.org/docs/api/wx.PyControl-class.html

In each of the base_ methods, the docstring says "Please use
PyScrolledWindow.MethodName instead". I think the code was probably copied
from the PyScrolledWindow class, and should probably be changed to say
PyControl.MethodName instead.

In fact, it looks like PyScrolledWindow isn't even in the namespace, so
perhaps these base_ methods can be removed altogether.

If indeed these methods and docstrings are correct, would someone please
briefly explain or point me to an explanation of the discrepancy?

Regards,
Jason

Jason R. Coombs wrote:

I think there's a typo in the PyControl documentation - wxPython API Documentation — wxPython Phoenix 4.2.2 documentation

In each of the base_ methods, the docstring says "Please use PyScrolledWindow.MethodName instead". I think the code was probably copied from the PyScrolledWindow class, and should probably be changed to say PyControl.MethodName instead.

Yep. A copy-paste error. Thanks.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!