void WxGimmickView::OnAddFiles(wxCommandEvent& event)
{
mViewer->StopPlayer();
+
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
long style = wxOPEN | wxFILE_MUST_EXIST | wxFD_MULTIPLE;
+#else
+ long style = wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_MULTIPLE;
+#endif
+
+
std::string wc("*");
wxFileDialog* FD = new wxFileDialog( 0,
_T("Select file"),