]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mimetype.h
fixed 2 encoding handling bugs in XRC/wxrcedit
[wxWidgets.git] / include / wx / mimetype.h
index 773d4a76728cd76a33f2424d59861d6feeee5ab9..241bdb34f9bc289b26caf123ed1fa41779c82fd8 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_MIMETYPE_H_
 #define _WX_MIMETYPE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "mimetypebase.h"
 #endif // __GNUG__
 
@@ -81,10 +81,10 @@ class WXDLLEXPORT wxFileTypeInfo
 public:
     // ctors
         // a normal item
-    wxFileTypeInfo(const char *mimeType,
-                   const char *openCmd,
-                   const char *printCmd,
-                   const char *desc,
+    wxFileTypeInfo(const wxChar *mimeType,
+                   const wxChar *openCmd,
+                   const wxChar *printCmd,
+                   const wxChar *desc,
                    // the other parameters form a NULL terminated list of
                    // extensions
                    ...);