Vadim Zeitlin
unread,Jul 6, 2026, 9:38:09 AM (2 days ago) Jul 6Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wx-...@googlegroups.com
On Sun, 5 Jul 2026 21:10:23 -0700 (PDT) 'wsu' via wx-dev wrote:
w> The implementation of wxAuiNotebook::LoadLayout() ignores the
w> wxAuiTabLayoutInfo dock_layer, dock_row, dock_pos fields when
w> dock_direction == wxAUI_DOCK_CENTER.
w>
w> So does this imply that there is a system invariant that dock_layer,
w> dock_row, and dock_pos should always be 0 when dock_direction ==
w> wxAUI_DOCK_CENTER?
I would say yes, but I'm not sure.
w> If so, then I have found that I can violate this invariant in the auidemo
w> sample by splitting the notebook and moving panes around.
How does it affect the actual behaviour? I.e. I don't think the putative
invariant above is enforced in any way currently, but I don't see how would
the values of these variables differing from 0 affect the positioning of a
center pane.
w> If not, then it seems like the wxAuiNotebook::LoadLayout() implementation
w> should pay attention to the wxAuiTabLayoutInfo dock_layer, dock_row,
w> dock_pos fields.
It could/should, I guess, because this shouldn't result in any harm. But I
don't know if it really changes anything?
Regards,
VZ