kicad/pcbnew/dialogs/dialog_global_deletion.h

35 lines
761 B
C
Raw Normal View History

2010-11-26 20:05:31 +00:00
/////////////////////////////////////////////////////////////////////////////
// Name: dialog_global_deletion.h
/////////////////////////////////////////////////////////////////////////////
#ifndef _DIALOG_GLOBAL_DELETION_H_
#define _DIALOG_GLOBAL_DELETION_H_
#include "dialog_global_deletion_base.h"
class DIALOG_GLOBAL_DELETION: public DIALOG_GLOBAL_DELETION_BASE
{
private:
PCB_EDIT_FRAME * m_Parent;
2010-11-26 20:05:31 +00:00
public:
DIALOG_GLOBAL_DELETION( PCB_EDIT_FRAME* parent );
2010-11-26 20:05:31 +00:00
private:
void OnOkClick( wxCommandEvent& event )
{
AcceptPcbDelete();
EndModal(wxID_OK);
}
void OnCancelClick( wxCommandEvent& event )
{
EndModal(wxID_CANCEL);
}
void AcceptPcbDelete();
};
#endif
// _DIALOG_GLOBAL_DELETION_H_