Example #1
0
void AISTargetListDialog::OnClose( wxCloseEvent &event )
{
    Disconnect_decoder();
    Hide();
    g_pAISTargetList = NULL;
    
}
Example #2
0
void AISTargetListDialog::Shutdown( void )
{
    if(m_pAuiManager) {
        wxAuiPaneInfo pane =m_pAuiManager->GetPane(this);
        g_AisTargetList_perspective = m_pAuiManager->SavePaneInfo( pane );
        m_pAuiManager->DetachPane(this);
        Disconnect_decoder();
        pane.Show(false);
        m_pAuiManager->Update();
        Destroy();
    }
}
void AISTargetListDialog::OnClose( wxCloseEvent &event )
{
    Disconnect_decoder();
}
AISTargetListDialog::~AISTargetListDialog()
{
    Disconnect_decoder();
    g_pAISTargetList = NULL;
}