summaryrefslogtreecommitdiffstats
path: root/Project/GeneralPropertiesForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-09 21:01:41 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-09 21:01:41 -0300
commit8a1ffbc01135a1466ad7400518e4c56a4bdc3af5 (patch)
treed27db60347d5cb69781b3667d436601ae17b018e /Project/GeneralPropertiesForm.cpp
parentd7550fe1c173f1be296f1ce7991ad6d70ed90ceb (diff)
downloadPSP.git-8a1ffbc01135a1466ad7400518e4c56a4bdc3af5.tar.gz
PSP.git-8a1ffbc01135a1466ad7400518e4c56a4bdc3af5.tar.xz
PSP.git-8a1ffbc01135a1466ad7400518e4c56a4bdc3af5.zip
Stability properties implemented
Diffstat (limited to 'Project/GeneralPropertiesForm.cpp')
-rw-r--r--Project/GeneralPropertiesForm.cpp14
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; }