TConcreteFunctor* lFunctor = new TConcreteFunctor(this,
&PanelButtonContainer::GenericListEvent);
- this->m_EventPanel = new wxPanel(this);
+ this->m_EmptyPanel = new wxPanel(this);
+ this->m_EventPanel = this->m_EmptyPanel;
this->m_PanelUp = new wxPanel(this, -1, wxDefaultPosition, wxDefaultSize,
wxTAB_TRAVERSAL, _T("ListConfigContainerPanel"));
std::cout << "Button Event" << std::endl;
+ this->m_EventPanel->Show(false);
+
this->m_ListConfigDialog->ShowModal(); //Show Dialog
this->m_CurrentWxPanel->Reparent(this->m_PanelUp);
this->m_CurrentWxPanel->Show(true);
this->m_CurrentWxPanel->SetFunctorEnabled(true);
+
+ this->m_CurrentWxPanel->GetListBox()->Deselect(
+ this->m_CurrentWxPanel->GetListBox()->GetSelection());
this->m_CurrentWxPanel->Update();
this->m_ListWxPanel->Show(false);
this->m_EventPanel->Show(false);
+ this->m_EventPanel = this->m_EmptyPanel;
+
+ this->m_AuiManager->GetPane(_T("EventPanel")).window = this->m_EventPanel;
this->m_AuiManager->Update();
+
}
//End MLER
// ----------------------------------------------------------------------------------