2010-11-26 20:05:31 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dialog_global_deletion.h
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _DIALOG_GLOBAL_DELETION_H_
|
|
|
|
#define _DIALOG_GLOBAL_DELETION_H_
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <dialog_global_deletion_base.h>
|
2010-11-26 20:05:31 +00:00
|
|
|
|
|
|
|
class DIALOG_GLOBAL_DELETION: public DIALOG_GLOBAL_DELETION_BASE
|
|
|
|
{
|
|
|
|
private:
|
2012-01-23 04:33:36 +00:00
|
|
|
PCB_EDIT_FRAME * m_Parent;
|
2012-01-21 15:02:49 +00:00
|
|
|
int m_currentLayer;
|
2010-11-26 20:05:31 +00:00
|
|
|
|
|
|
|
public:
|
2011-03-01 19:26:17 +00:00
|
|
|
DIALOG_GLOBAL_DELETION( PCB_EDIT_FRAME* parent );
|
2012-01-21 15:02:49 +00:00
|
|
|
void SetCurrentLayer( int aLayer );
|
2010-11-26 20:05:31 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void OnOkClick( wxCommandEvent& event )
|
|
|
|
{
|
|
|
|
AcceptPcbDelete();
|
|
|
|
EndModal(wxID_OK);
|
|
|
|
}
|
|
|
|
void OnCancelClick( wxCommandEvent& event )
|
|
|
|
{
|
|
|
|
EndModal(wxID_CANCEL);
|
|
|
|
}
|
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
void AcceptPcbDelete();
|
2012-01-23 05:17:34 +00:00
|
|
|
void OnCheckDeleteTracks( wxCommandEvent& event );
|
2010-11-26 20:05:31 +00:00
|
|
|
};
|
|
|
|
|
2012-01-23 05:17:34 +00:00
|
|
|
#endif // _DIALOG_GLOBAL_DELETION_H_
|