mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Only run DoUpdate if the managed window exists.
This commit is contained in:
@@ -6360,6 +6360,10 @@ class AuiManager(wx.EvtHandler):
|
||||
must be called. This construction allows pane flicker to be avoided by updating
|
||||
the whole layout at one time.
|
||||
"""
|
||||
|
||||
if not self.GetManagedWindow():
|
||||
return
|
||||
|
||||
if '__WXGTK__' in wx.PlatformInfo:
|
||||
self.GetManagedWindow().Freeze()
|
||||
self._hover_button = None
|
||||
|
||||
Reference in New Issue
Block a user