From 8a1ffbc01135a1466ad7400518e4c56a4bdc3af5 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 9 Aug 2017 21:01:41 -0300 Subject: Stability properties implemented --- Project/GeneralPropertiesForm.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'Project/GeneralPropertiesForm.cpp') 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; } -- cgit