wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.21k stars 509 forks source link

BusyCursor docs are outdated #2535

Closed KazzyJr closed 2 months ago

KazzyJr commented 2 months ago

wxPython version & source: 4.2.1, pypi

Description of the problem: wx.BusyCursor docs should detail the context manager case, which the cursor is actually meant to be used like.

Code Example (click to expand) ```python with wx.BusyCursor(): for i in range(50000): DoACalculation() ```
DietmarSchwertberger commented 2 months ago

I will also add a PR for wxWidgets to extend "see also..." with a hint to wx.BusyInfo.