X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76dd097ab7609132a77d7e8095e887ee17a3393e..f2e4cf3dc689b4e9d362637a9f9347fb49fd18d4:/interface/wx/stdpaths.h diff --git a/interface/wx/stdpaths.h b/interface/wx/stdpaths.h index ccdb92816e..4d25136413 100644 --- a/interface/wx/stdpaths.h +++ b/interface/wx/stdpaths.h @@ -3,7 +3,7 @@ // Purpose: interface of wxStandardPaths // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -54,6 +54,17 @@ class wxStandardPaths { public: + /// Possible values for category parameter of GetLocalizedResourcesDir(). + enum ResourceCat + { + /// No special category, this is the default. + ResourceCat_None, + + /// Message catalog resources category. + ResourceCat_Messages + }; + + /** MSW-specific function undoing the effect of IgnoreAppSubDir() calls. @@ -174,8 +185,9 @@ public: @since 2.7.0 */ - virtual wxString GetLocalizedResourcesDir(const wxString& lang, - ResourceCat category) const; + virtual wxString + GetLocalizedResourcesDir(const wxString& lang, + ResourceCat category = ResourceCat_None) const; /** Return the directory where the loadable modules (plugins) live.