mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Pure python AUI: Make behavior in all platforms more equal. This also reduces flicker, reduces number of code lines by removing platform exception.
This commit is contained in:
@@ -6141,11 +6141,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