I am trying to allow left and right docking on my toolbars. But they are still horizontal...
I would like them to be vertical.
Do I have something special to set to the pane info when adding the toolbar to the frame manager?
Here is my actual code:
- Code: Select all
void MyFrame::setup_toolbars()
{
for (TCombSize idx=0; idx<toolbars.nb_elem(); idx++)
{
wxToolBar* toolbar = wxXmlResource::Get()->LoadToolBar(this, toolbars[idx].xrc_name);
frame_manager->AddPane(toolbar, wxPaneInfo().
Name(toolbars[idx].name).Caption(toolbars[idx].caption).
ToolbarPane().Top().Row(toolbars[idx].row).Position(toolbars[idx].pos).
Dockable(true));
}
frame_manager->Update();
}
Regards,
Bénédicte