]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mimecmn.cpp
removed XPM handler from wxImage's standard handlers, let's see if it does any harm
[wxWidgets.git] / src / common / mimecmn.cpp
index 24265777c8adc8de02b1060bc62399dc77bd07d7..c663f9d7bdbbfb242cecc52126c9c8bf8461897b 100644 (file)
 // wxFileTypeInfo
 // ----------------------------------------------------------------------------
 
-wxFileTypeInfo::wxFileTypeInfo(const char *mimeType,
-                               const char *openCmd,
-                               const char *printCmd,
-                               const char *desc,
+wxFileTypeInfo::wxFileTypeInfo(const wxChar *mimeType,
+                               const wxChar *openCmd,
+                               const wxChar *printCmd,
+                               const wxChar *desc,
                                ...)
               : m_mimeType(mimeType),
                 m_openCmd(openCmd),
@@ -89,7 +89,7 @@ wxFileTypeInfo::wxFileTypeInfo(const char *mimeType,
 
     for ( ;; )
     {
-        const char *ext = va_arg(argptr, const char *);
+        const wxChar *ext = va_arg(argptr, const wxChar *);
         if ( !ext )
         {
             // NULL terminates the list
@@ -426,7 +426,7 @@ bool wxFileType::SetDefaultIcon(const wxString& cmd, int index)
     // VZ: should we do this?
     // chris elliott : only makes sense in MS windows
     if ( sTmp.empty() )
-        GetOpenCommand(&sTmp, wxFileType::MessageParameters("", ""));
+        GetOpenCommand(&sTmp, wxFileType::MessageParameters(wxT(""), wxT("")));
 #endif
     wxCHECK_MSG( !sTmp.empty(), FALSE, _T("need the icon file") );