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

class Constant;

class ConstantForm : public ConstantFormBase
{
   public:
    ConstantForm(wxWindow* parent, Constant* constant);
    virtual ~ConstantForm();
    virtual bool ValidateData();

   protected:
    virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
    virtual void OnOKButtonClick(wxCommandEvent& event);
    
    wxWindow* m_parent = NULL;
    Constant* m_constant = NULL;
};
#endif  // CONSTANTFORM_H