git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58348
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxArrayString exts;
exts.Add( ext );
wxArrayString exts;
exts.Add( ext );
+ // The glob files have two kinds of associations: those, which
+ // link an extension to a file type (text/html) and those
+ // which link it to an application type (application/x-mozilla).
+ // We need the former.
if (mime.Find( "application" ) != 0)
AddToMimeData(mime, wxEmptyString, NULL, exts, wxEmptyString, true );
}
if (mime.Find( "application" ) != 0)
AddToMimeData(mime, wxEmptyString, NULL, exts, wxEmptyString, true );
}