avoid reading KDE-tables on OpenVMS. They will never be installed since KDE

is not available on OpenVMS.

 Modified Files:
 	wxWidgets/src/unix/mimetype.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 2007-01-02 09:55:34 +00:00
parent ca2261d33f
commit 7538fdc9a6

View File

@ -1512,9 +1512,11 @@ void wxMimeTypesManagerImpl::Initialize(int mailcapStyles,
if (mailcapStyles & wxMAILCAP_GNOME)
GetGnomeMimeInfo(sExtraDir);
// read KDE tables
// read KDE tables which are never installed on OpenVMS
#ifndef __VMS
if (mailcapStyles & wxMAILCAP_KDE)
GetKDEMimeInfo(sExtraDir);
#endif
m_mailcapStylesInited |= mailcapStyles;
}