diff options
Diffstat (limited to 'Project/GeneralPropertiesForm.cpp')
-rw-r--r-- | Project/GeneralPropertiesForm.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Project/GeneralPropertiesForm.cpp b/Project/GeneralPropertiesForm.cpp index 169c20c..305a26f 100644 --- a/Project/GeneralPropertiesForm.cpp +++ b/Project/GeneralPropertiesForm.cpp @@ -1,20 +1,16 @@ #include "GeneralPropertiesForm.h" +#include "PropertiesData.h" -GeneralPropertiesForm::GeneralPropertiesForm(wxWindow* parent) +GeneralPropertiesForm::GeneralPropertiesForm(wxWindow* parent, PropertiesData* properties) : GeneralPropertiesFormBase(parent) { + m_properties = properties; } -GeneralPropertiesForm::~GeneralPropertiesForm() -{ -} - +GeneralPropertiesForm::~GeneralPropertiesForm() {} void GeneralPropertiesForm::OnButtonOKClick(wxCommandEvent& event) { if(ValidateData()) EndModal(wxID_OK); } -bool GeneralPropertiesForm::ValidateData() -{ - return true; -} +bool GeneralPropertiesForm::ValidateData() { return true; } |