In my environment,
Windows 10 64bit
wxPython-4.1.1 (pypi)
Python 3.9.9
The first bug does not occur, but the second one does.
I used the debugger to get the following traceback:
Traceback (most recent call last):
File "C:\Python39\lib\site-packages\wx\lib\agw\aui\framemanager.py", line 9288, in OnMotion
self.OnMotion_ClickCaption(event)
File "C:\Python39\lib\site-packages\wx\lib\agw\aui\framemanager.py", line 9457, in OnMotion_ClickCaption
e = self.FireEvent(wxEVT_AUI_PANE_FLOATED, self._action_pane, canVeto=False)
File "C:\Python39\lib\site-packages\wx\lib\agw\aui\framemanager.py", line 9707, in OnMotion_DragFloatingPane
self.UpdateDockingGuides(paneInfo)
File "C:\Python39\lib\site-packages\wx\lib\agw\aui\framemanager.py", line 6845, in UpdateDockingGuides
self.CreateGuideWindows()
File "C:\Python39\lib\site-packages\wx\lib\agw\aui\framemanager.py", line 4550, in CreateGuideWindows
Host(AuiSingleDockingGuide(self._frame, wx.LEFT)))
File "C:\Python39\lib\site-packages\wx\lib\agw\aui\framemanager.py", line 2246, in __init__
useAero = GetManager(self.GetParent()).GetAGWFlags() & AUI_MGR_AERO_DOCKING_GUIDES
AttributeError: 'NoneType' object has no attribute 'GetAGWFlags'
Seems GetManager(self.GetParent()) -> None
may be the cause of this issue.
Could you open this issue on GitHub?
When I have time, I will look into this.