mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Merge pull request #2447 from tianzhuqiao/agw_aui_minimize_pane
Fix AuiManager pane minimizing issue.
This commit is contained in:
@@ -9519,17 +9519,17 @@ class AuiManager(wx.EvtHandler):
|
||||
elif self._has_maximized:
|
||||
self.RestoreMaximizedPane()
|
||||
|
||||
# reorder for dropping to a new notebook
|
||||
# (caution: this code breaks the reference!)
|
||||
tempPaneInfo = self.CopyTarget(paneInfo)
|
||||
self._panes.remove(paneInfo)
|
||||
self._panes.append(tempPaneInfo)
|
||||
|
||||
if ret:
|
||||
# reorder for dropping to a new notebook
|
||||
# (caution: this code breaks the reference!)
|
||||
tempPaneInfo = self.CopyTarget(paneInfo)
|
||||
self._panes.remove(paneInfo)
|
||||
self._panes.append(tempPaneInfo)
|
||||
|
||||
self.Update()
|
||||
|
||||
if tempPaneInfo.IsFloating():
|
||||
self.SnapPane(tempPaneInfo, tempPaneInfo.floating_pos, tempPaneInfo.floating_size, False)
|
||||
if tempPaneInfo.IsFloating():
|
||||
self.SnapPane(tempPaneInfo, tempPaneInfo.floating_pos, tempPaneInfo.floating_size, False)
|
||||
|
||||
self.HideHint()
|
||||
ShowDockingGuides(self._guides, False)
|
||||
|
||||
Reference in New Issue
Block a user