10c10 < # Current wxAUI Version Tracked: 0.9.1 + Patches --- > # Current wxAUI Version Tracked: 0.9.2 16c16 < # Latest Revision: 23 Jan 2006, 00.00 CET --- > # Latest Revision: 21 Apr 2006, 13.00 GMT 19c19 < # PyAUI version 0.9.1 Adds: --- > # PyAUI version 0.9.2 Adds: 21,28c21,22 < # * Support For MDI Frames; < # * Gradient Captions Option; < # * Active/Inactive Panes Option; < # * Support For Vertical Toolbars; < # * Fix For Screen Artifacts/Paint Problems; < # * Fix For Hiding/Showing Floated Window Problem; < # * Fix For Floating Pane Sizing Problem; < # * Fix For Drop Position Problem When Dragging Around Center Pane Margins. --- > # * Fixes For Display Glitches; > # * Fixes For Other Bugs Found In Previous Versions. 150c144 < PyAUI version 0.9.1 Adds: --- > PyAUI version 0.9.2 Adds: 152,159c146,147 < * Support For MDI Frames; < * Gradient Captions Option; < * Active/Inactive Panes Option; < * Support For Vertical Toolbars; < * Fix For Screen Artifacts/Paint Problems; < * Fix For Hiding/Showing Floated Window Problem; < * Fix For Floating Pane Sizing Problem; < * Fix For Drop Position Problem When Dragging Around Center Pane Margins. --- > * Fixes For Display Glitches; > * Fixes For Other Bugs Found In Previous Versions. 166,167c154,155 < Latest Revision: Andrea Gavana @ 23 Jan 2006, 00.00 CET < Version 0.9.1. --- > Latest Revision: Andrea Gavana @ 21 Apr 2006, 13.00 GMT > Version 0.9.2. 1453a1442 > self.SetExtraStyle(wx.WS_EX_PROCESS_IDLE) 1735,1737c1724,1725 < < for ii in xrange(len(docks)): < dock = docks[ii] --- > > for dock in docks: 1752,1753c1740 < for ii in xrange(len(panes)): < pane = panes[ii] --- > for pane in panes: 1856,1859c1843,1844 < < count = len(dock.panes) < for ii in xrange(count): < p = dock.panes[ii] --- > > for p in dock.panes: 1912c1897 < panes[ii]= pane --- > panes[ii] = pane 2015d1999 < self._frame = frame 2027a2012,2014 > if frame: > self.SetFrame(frame) > 2050,2052c2037,2038 < < for ii in xrange(len(self._panes)): < p = self._panes[ii] --- > > for p in self._panes: 2065,2066c2051 < for ii in xrange(len(self._panes)): < p = self._panes[ii] --- > for p in self._panes: 2108,2112c2093,2094 < < for ii in xrange(len(self._uiparts)): < < item = self._uiparts[ii] < --- > > for item in self._uiparts: 2192,2193c2174 < if self._frame.GetEventHandler() == self: < self._frame.PopEventHandler() --- > self._frame.RemoveEventHandler(self) 2257a2239 > 2339a2322,2335 > > if isinstance(pinfo.window, wx.ToolBar): > # GetClientSize() doesn't get the best size for > # a toolbar under some newer versions of wxWidgets, > # so use GetBestSize() > pinfo.best_size = pinfo.window.GetBestSize() > > # for some reason, wxToolBar::GetBestSize() is returning > # a size that is a pixel shy of the correct amount. > # I believe this to be the correct action, until > # wxToolBar::GetBestSize() is fixed. Is this assumption > # correct? > pinfo.best_size.y = pinfo.best_size.y + 1 > 2430,2432c2426,2442 < for ii in xrange(len(self._panes)): < if self._panes[ii].window == window: < self._panes.pop(ii) --- > for p in self._panes: > if p.window == window: > if p.frame: > # we have a floating frame which is being detached. We need to > # reparent it to m_frame and destroy the floating frame > > # reduce flicker > p.window.SetSize(1,1) > p.frame.Show(False) > > # reparent to self._frame and destroy the pane > p.window.Reparent(self._frame) > p.frame.SetSizer(None) > p.frame.Destroy() > p.frame = None > > self._panes.remove(p) 2641,2642c2651 < for pane_i in xrange(pane_count): < pane = dock.panes[pane_i] --- > for pane in dock.panes: 2672c2681 < for pane_i in xrange(action_pane-1, -1, -1): --- > for pane_i in xrange(action_pane-1, -1, -1): 2753,2754c2762 < for ii in xrange(len(pane.buttons)): < button = pane.buttons[ii] --- > for button in pane.buttons: 2984,2985c2992 < for ii in xrange(len(panes)): < p = panes[ii] --- > for p in panes: 3611c3618,3621 < if self._flags & AUI_MGR_ALLOW_FLOATING: --- > if (self._flags & AUI_MGR_ALLOW_FLOATING) and (drop.IsFloatable() or (\ > part.dock.dock_direction != AUI_DOCK_CENTER and \ > part.dock.dock_direction != AUI_DOCK_NONE)): > 3654a3665,3667 > > if not part: > return False, target 3660c3673 < if hasattr(part.dock, "toolbar") and part.dock.toolbar: --- > if part.dock and (hasattr(part.dock, "toolbar") and part.dock.toolbar): 3848a3862 > wx.FRAME_TOOL_WINDOW | 4045a4060,4063 > if rect.IsEmpty(): > self.HideHint() > return > 4085a4104 > 4149c4168 < if wx.GetKeyState(wx.WXK_CONTROL): --- > if wx.GetKeyState(wx.WXK_CONTROL) or wx.GetKeyState(wx.WXK_ALT): 4181c4200 < if wx.GetKeyState(wx.WXK_CONTROL): --- > if wx.GetKeyState(wx.WXK_CONTROL) or wx.GetKeyState(wx.WXK_ALT): 4310a4330 > 4311a4332 > 4667c4688,4692 < --- > > else: > > event.Skip() > 4819a4845,4848 > else: > > event.Skip() >