void PCB_EDIT_FRAME::InstallFindFrame( const wxPoint& pos, wxDC* DC ) { WinEDA_PcbFindFrame* frame = new WinEDA_PcbFindFrame( this, DC, pos ); frame->ShowModal(); frame->Destroy(); }
void WinEDA_PcbFrame::InstallFindFrame(const wxPoint & pos, wxDC * DC) /*********************************************************************/ { DrawPanel->m_IgnoreMouseEvents = TRUE; WinEDA_PcbFindFrame * frame = new WinEDA_PcbFindFrame(this, DC, pos); frame->ShowModal(); frame->Destroy(); DrawPanel->m_IgnoreMouseEvents = FALSE; }