aui LoadPerspective with a new window

Leslie Newell lesnewell at fmail.co.uk
Wed Feb 13 01:40:21 PST 2008


That code will work if the pane is visible or not. If a pane exists in
the perspective but not in AUI it is imply ignored. If a pane exists in
AUI (visible or not) but not in the perspective it is untouched. This
way you can safely add or remove panes in code without any unpleasant
side effects.

Les

Riccardo Cohen wrote:
> Thanks a lot for that piece of code. I'll try this way. But I think
> that one little patch could be applied : after LoadPerspective, it
> should be easy to check if some pane are not visible (ideally also not
> in screen), and build a new paneinfo for these.
>
> I tried to do that, but I could not find the way of checking if a pane
> is visible...





More information about the wx-users mailing list