]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stdpaths.h
Compilation fix
[wxWidgets.git] / include / wx / stdpaths.h
index 233fc7f3a835c7d4d0acbe34ab9c699c7808526d..b3b54d41061b1d42b0547ed9ce6ad0b2e3574fca 100644 (file)
@@ -17,6 +17,7 @@
 #if wxUSE_STDPATHS
 
 #include "wx/string.h"
 #if wxUSE_STDPATHS
 
 #include "wx/string.h"
+#include "wx/filefn.h"
 
 // ----------------------------------------------------------------------------
 // wxStandardPaths returns the standard locations in the file system
 
 // ----------------------------------------------------------------------------
 // wxStandardPaths returns the standard locations in the file system
@@ -104,7 +105,8 @@ public:
     // prefix/share/locale/lang/LC_MESSAGES)
     virtual wxString
     GetLocalizedResourcesDir(const wxChar *lang,
     // prefix/share/locale/lang/LC_MESSAGES)
     virtual wxString
     GetLocalizedResourcesDir(const wxChar *lang,
-                             ResourceCat category = ResourceCat_None) const
+                             ResourceCat WXUNUSED(category)
+                                = ResourceCat_None) const
     {
         return GetResourcesDir() + wxFILE_SEP_PATH + lang;
     }
     {
         return GetResourcesDir() + wxFILE_SEP_PATH + lang;
     }