void GNC::GCS::ControladorVistas::OcultarPanel(wxWindow* win) { GTRACE("ControladorVistas::OcultarPanel(" << win << ")") VentanaPrincipal* vp = GNC::Entorno::Instance()->GetVentanaPrincipal(); if (vp == NULL) { throw std::exception(); } vp->SuperFreeze(); //std::cout << "Ocultando panel " << win << std::endl; vp->m_mgr.GetPane(win).Hide(); vp->m_mgr.Update(); vp->Layout(); vp->SuperThaw(); }
void GNC::GCS::ControladorVistas::Freeze() { VentanaPrincipal* v = GNC::Entorno::Instance()->GetVentanaPrincipal(); v->SuperFreeze(); }