aui LoadPerspective with a new window

Leslie Newell lesnewell at fmail.co.uk
Thu Feb 14 01:01:30 PST 2008


You are right. My mistake. I originally wrote my version quite a while
back, before the pane info and dock info were separated. I'll have to
take another look at the code.

Les

Riccardo Cohen wrote:
> Well I made some tests : if you don't restore the dock_size(...)
> parts, then you have all pane at good place but not in good size. I
> don't have the time to reproduce it in small sample, but look at the
> pane information saved alone : there is no size except floating size,
> how AUI could know what size the docks are ?
>
> pane info :
>
> name=view_book;caption=;state=768;dir=5;layer=0;row=0;pos=0;
> prop=100000;bestw=200;besth=200;minw=200;minh=200;maxw=-1;maxh=-1;
> floatx=-1;floaty=-1;floatw=-1;floath=-1
>
> dock dimensions :
>
> dock_size(4,0,2)=302
>
> and actually if you remove dock_size before loadperspective, the dock
> loose their original size





More information about the wx-users mailing list