nhold / wxWidgets

Read-only mirror of the wxWidgets SVN repo (automatically updated). Report issues here: http://trac.wxwidgets.org/
http://www.wxwidgets.org/
1 stars 3 forks source link

Floating panes are arbitrarily docked in LoadPerspective #92

Closed Kinaou closed 9 years ago

Kinaou commented 9 years ago

A pane which is dockable but currently floating is arbitrarily docked in wxAuiManager::LoadPerspective. It was already an issue some times ago for dockable (but not floating) panes, but it seem that floating panes was forgotten: http://trac.wxwidgets.org/ticket/12648

I don't know why that was done, but whatever is the reason, the flags of the panes are now (in aui-dynamic-notebook branch) saved in the state value which restores properly the panes state. The docking of the panes is thus useless now.

nhold commented 9 years ago

Merged your fix, thanks!