diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 13:26:46 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-12-06 13:26:46 -0200 |
commit | e282ec268db0d17a1d53f813c5fff9473d25e797 (patch) | |
tree | 517e01b8685248f04548513091e7040a1b36ec0b /Project/SwitchingForm.h | |
parent | d4efffcdedbb41596eecd0882a1cef76f6afc435 (diff) | |
parent | e266f5811403beea13c9cc5399c55db4a34fdd3c (diff) | |
download | PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.tar.gz PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.tar.xz PSP.git-e282ec268db0d17a1d53f813c5fff9473d25e797.zip |
Merge remote-tracking branch 'refs/remotes/origin/wip/currentState'
Diffstat (limited to 'Project/SwitchingForm.h')
-rw-r--r-- | Project/SwitchingForm.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Project/SwitchingForm.h b/Project/SwitchingForm.h new file mode 100644 index 0000000..3a6e566 --- /dev/null +++ b/Project/SwitchingForm.h @@ -0,0 +1,28 @@ +#ifndef SWITCHINGFORM_H +#define SWITCHINGFORM_H + +#include "ElementForm.h" + +class Element; + +class SwitchingForm : public SwitchingFormBase +{ +public: + SwitchingForm(wxWindow* parent); + SwitchingForm(wxWindow* parent, Element* element); + virtual ~SwitchingForm(); +protected: + virtual void OnDownButtonClick(wxCommandEvent& event); + virtual void OnUpButtonClick(wxCommandEvent& event); + virtual void OnChangeProperties(wxPropertyGridEvent& event); + virtual void OnSelectItem(wxListEvent& event); + virtual void OnCancelButtonClick(wxCommandEvent& event); + virtual void OnInsertButtonClick(wxCommandEvent& event); + virtual void OnOKButtonClick(wxCommandEvent& event); + virtual void OnRemoveButtonClick(wxCommandEvent& event); + + int m_maxID = 0; + + Element* m_element; +}; +#endif // SWITCHINGFORM_H |