long style;
if (bbGetInputOpenSave()=="Save")
{
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
style = wxSAVE | wxOVERWRITE_PROMPT;
- }
- else
- {
+#else
+ style = wxFD_SAVE | wxFD_OVERWRITE_PROMPT;
+#endif
+ } else {
+
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
style = wxOPEN | wxFILE_MUST_EXIST;
+#else
+ style = wxFD_OPEN | wxFD_FILE_MUST_EXIST;
+#endif
+
}
std::string wc(bbGetInputWildcard());