void DockablePaneMenuManager::HackShowPane(wxAuiPaneInfo &pane_info, wxAuiManager *pAui) { if ( pane_info.IsOk() && pAui ) { pane_info.MinSize(pane_info.best_size); // saved while hiding pane_info.Show(); pAui->Update(); pane_info.MinSize(10,5); // so it can't disappear if undocked pAui->Update(); } }
//===================================================================================== /*virtual*/ void WinnerPanel::SetupPaneInfo( wxAuiPaneInfo& paneInfo ) { paneInfo.MinSize( 150, -1 ); }