aui LoadPerspective with a new window
Leslie Newell
lesnewell at fmail.co.uk
Wed Feb 13 10:53:34 PST 2008
I am not sure why you would want to save the dock info. This is
recreated when you update() anyway. The panes contain their position,
layer, visible/invisible status etc. I have certainly not found any
problem with just loading the panes. I can position/dock the panes
anywhere I like. When I close my app (saving the panes) the restart it
(creating the panes then loading the panes) the panes appear in exactly
the same state as when I closed.
I don't understand why AUI insists on saving the whole manager state
even when the data is likely to be regenerated shortly after. IMHO it
should only save what it actually needs to recreate the layout.
Les
Riccardo Cohen wrote:
> yes but the dock_size are not restored in your code, because you
> restore individual panes only. I tried my method :
More information about the wx-users
mailing list