summaryrefslogtreecommitdiffstats
path: root/Project/GeneralPropertiesForm.cpp
blob: 305a26f4d16739d3c5b7af5a09af543ad5ea1b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "GeneralPropertiesForm.h"
#include "PropertiesData.h"

GeneralPropertiesForm::GeneralPropertiesForm(wxWindow* parent, PropertiesData* properties)
    : GeneralPropertiesFormBase(parent)
{
    m_properties = properties;
}

GeneralPropertiesForm::~GeneralPropertiesForm() {}
void GeneralPropertiesForm::OnButtonOKClick(wxCommandEvent& event)
{
    if(ValidateData()) EndModal(wxID_OK);
}

bool GeneralPropertiesForm::ValidateData() { return true; }