summaryrefslogtreecommitdiffstats
path: root/Project/GeneralPropertiesForm.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-08 19:40:23 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-08 19:40:23 -0300
commitd7550fe1c173f1be296f1ce7991ad6d70ed90ceb (patch)
treecf94259d6ed480cafe9da1a73409e4039991235b /Project/GeneralPropertiesForm.cpp
parent49ac4c4fcedb03ef09f8faab176159f48896dc7e (diff)
downloadPSP.git-d7550fe1c173f1be296f1ce7991ad6d70ed90ceb.tar.gz
PSP.git-d7550fe1c173f1be296f1ce7991ad6d70ed90ceb.tar.xz
PSP.git-d7550fe1c173f1be296f1ce7991ad6d70ed90ceb.zip
Settings form implementation start
Diffstat (limited to 'Project/GeneralPropertiesForm.cpp')
-rw-r--r--Project/GeneralPropertiesForm.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Project/GeneralPropertiesForm.cpp b/Project/GeneralPropertiesForm.cpp
new file mode 100644
index 0000000..169c20c
--- /dev/null
+++ b/Project/GeneralPropertiesForm.cpp
@@ -0,0 +1,20 @@
+#include "GeneralPropertiesForm.h"
+
+GeneralPropertiesForm::GeneralPropertiesForm(wxWindow* parent)
+ : GeneralPropertiesFormBase(parent)
+{
+}
+
+GeneralPropertiesForm::~GeneralPropertiesForm()
+{
+}
+
+void GeneralPropertiesForm::OnButtonOKClick(wxCommandEvent& event)
+{
+ if(ValidateData()) EndModal(wxID_OK);
+}
+
+bool GeneralPropertiesForm::ValidateData()
+{
+ return true;
+}