summaryrefslogtreecommitdiffstats
path: root/Project/GainForm.h
blob: 45d6c406665239baf9693b67a75b178d59394f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef GAINFORM_H
#define GAINFORM_H
#include "ElementForm.h"

class Gain;

class GainForm : public GainFormBase
{
   public:
    GainForm(wxWindow* parent, Gain* gain);
    virtual ~GainForm();
    
    virtual bool ValidateData();

   protected:
    virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
    virtual void OnOKButtonClick(wxCommandEvent& event);

    wxWindow* m_parent;
    Gain* m_gain;
};
#endif  // GAINFORM_H