git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33425
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// try to get the command to open this kind of files ourselves
wxString command;
// try to get the command to open this kind of files ourselves
wxString command;
wxFileType *
ft = wxTheMimeTypesManager->GetFileTypeFromExtension(fn.GetExt());
if ( ft )
{
command = ft->GetOpenCommand(fn.GetFullPath());
wxFileType *
ft = wxTheMimeTypesManager->GetFileTypeFromExtension(fn.GetExt());
if ( ft )
{
command = ft->GetOpenCommand(fn.GetFullPath());
+#endif // wxUSE_MIMETYPE
// if we couldn't, ask the user
if ( command.empty() )
// if we couldn't, ask the user
if ( command.empty() )