]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/mimetype.cpp
Fix GetNextItem for virtual wxListCtrl, and improve behavior for wxLIST_NEXT_ALL.
[wxWidgets.git] / src / unix / mimetype.cpp
index deb9fb624a9ee27d6d81ab8a03f10e49d9a45edb..0d9de5f65f1fd9a613c427a903ce119bc4e18464 100644 (file)
@@ -149,10 +149,10 @@ protected:
     // single conversion in Unicode build, so we just try to read what we can
     // suing the most common encoding (UTF-8 is almost ubiquitous nowadays) and
     // ignore the rest
-    virtual bool OnRead(const wxMBConv& conv)
+    virtual bool OnRead(const wxMBConv& WXUNUSED(conv))
     {
         return wxTextFile::OnRead(
-                    wxMBConvUTF8(wxMBConvUTF8::MAP_INVALID_UTF8_TO_OCTAL));
+                    wxMBConvUTF8(wxMBConvUTF8::MAP_INVALID_UTF8_TO_PUA));
     }
 };
 
@@ -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;
 }