Properly indicate wrapping of wx.CallAfter while monkeypatching (#16520)
The monkeypatch for wx.CallAfter didn't indicate wrapping.
>>> import wx
>>> help(wx.CallAfter)
Help on function wx_CallAfter_wrapper in module monkeyPatches.wxMonkeyPatches:
wx_CallAfter_wrapper(func, *args, **kwargs)
Description of user facing changes
None
Description of development approach
Imported wraps from functools, and added @wraps to the wrapper.
From a build after the modification:
>>> import wx
>>> help(wx.CallAfter)
Help on function CallAfter in module wx.core:
CallAfter(callableObj, *args, **kw)
Call the specified function after the current and pending event
handlers have been completed. This is also good for making GUI
method calls from non-GUI threads. Any extra positional or
keyword args are passed on to the callable when it is called.
Also converted the apply() function's comment into a docstring.