mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Merge pull request #2501 from jmoraleda/CallAfterUpdateInAllPlatforms
wx.agw.aui: Make behavior in all platforms more equal
This commit is contained in:
@@ -6145,11 +6145,8 @@ class AuiManager(wx.EvtHandler):
|
||||
return self._dock_constraint_x, self._dock_constraint_y
|
||||
|
||||
def Update(self):
|
||||
if '__WXGTK__' in wx.PlatformInfo:
|
||||
wx.CallAfter(self.DoUpdate)
|
||||
else:
|
||||
self.DoUpdate()
|
||||
|
||||
wx.CallAfter(self.DoUpdate)
|
||||
|
||||
def DoUpdateEvt(self, evt):
|
||||
self.Unbind(wx.EVT_WINDOW_CREATE)
|
||||
wx.CallAfter(self.DoUpdate)
|
||||
|
||||
Reference in New Issue
Block a user