// RESULT
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
ResultCtrl=new wxTextCtrl(this, ID_EL_CTRL,_T(""), wxPoint(5,150), wxSize(250,310), wxTE_READONLY| wxMac | wxTE_MULTILINE | wxTE_RICH );
+#else
+ ResultCtrl=new wxTextCtrl(this, ID_EL_CTRL,_T(""), wxPoint(5,150), wxSize(250,310), wxTE_READONLY| wxTE_MULTILINE | wxTE_RICH );
+#endif
+
+
wxButton *RemoveCtrl = new wxButton(this, ID_REMOVE_ADD,_T("Remove an entry"), wxPoint(280,200) );
Connect( RemoveCtrl->GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxDescriptorPanel::OnRemove );
//////////////////////////////////////////////////
void WxDescriptorPanel::OnLoad(wxCommandEvent &Event)
{
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
long style = wxOPEN | wxFILE_MUST_EXIST;
+#else
+ long style = wxFD_OPEN | wxFD_FILE_MUST_EXIST;
+#endif
LevelCtrl->SetValue(_T("patient"));
ResultCtrl->Clear();
DscpTree.clear();
const std::string WxDescriptorPanel::saveDescriptor()
{
std::string file = "";
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
long style = wxSAVE;
+#else
+ long style = wxFD_SAVE;
+#endif
std::string wc("*.dscp");
wxFileDialog* FD = new wxFileDialog( 0,
_T("Select file"),