I'm using the AUI functions in my program.
The documentation states:
But even if I Update the AUIManger after altering the PaneInfo, this Flag does not seem to show or hide the caption.wxAuiPaneInfo& wxAuiPaneInfo::CaptionVisible ( bool visible = true )
CaptionVisible indicates that a pane caption should be visible.
If false, no pane caption is drawn.
Code snippet:
Code: Select all
wxAuiPaneInfo paneinfo = m_AuiManager.GetPane(p);
if( paneinfo.IsOk() ) {
paneinfo.CaptionVisible(show);
m_AuiManager.Update();
}