std::string stdDir = default_doc_dir+"/share/bbtk/bbs";
wxString defaultDir(stdDir.c_str(), wxConvUTF8);
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
wxFileDialog dialog(this, _T("Include file"),defaultDir, _T(""), _T("*.bbs"), wxOPEN );
+#else
+ wxFileDialog dialog(this, _T("Include file"),defaultDir, _T(""), _T("*.bbs"), wxFD_OPEN );
+#endif
+
if (dialog.ShowModal() == wxID_OK)
{
// std::string command(_T("include "));