]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/mimetype.h
fix comparison of BYTE variable with -1 after last commit
[wxWidgets.git] / include / wx / msw / mimetype.h
index 80406d9e4344d0ed99a8d23cb730a05b31daa860..4dcff927964272a3fc939937e1991c3f0b559136 100644 (file)
 #ifndef _MIMETYPE_IMPL_H
 #define _MIMETYPE_IMPL_H
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "mimetype.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_MIMETYPE
@@ -70,7 +66,7 @@ public:
 private:
     // helper function: reads the command corresponding to the specified verb
     // from the registry (returns an empty string if not found)
-    wxString GetCommand(const wxChar *verb) const;
+    wxString GetCommand(const wxString& verb) const;
 
     // get the registry path for the given verb
     wxString GetVerbPath(const wxString& verb) const;