diff --git a/src/msw/mimetype.cpp b/src/msw/mimetype.cpp index 9bd56ad436..84ff99912a 100644 --- a/src/msw/mimetype.cpp +++ b/src/msw/mimetype.cpp @@ -339,6 +339,11 @@ wxFileTypeImpl::GetOpenCommand(wxString *openCmd, { wxString cmd = GetCommand(wxT("open")); + // Some viewers don't define the "open" verb but do define "show" one, try + // to use it as a fallback. + if ( cmd.empty() ) + cmd = GetCommand(wxT("show")); + *openCmd = wxFileType::ExpandCommand(cmd, params); return !openCmd->empty();