git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\membersection{wxStandardPaths::GetLocalizedResourcesDir}\label{wxstandardpathsgetlocalizedresourcesdir}
\membersection{wxStandardPaths::GetLocalizedResourcesDir}\label{wxstandardpathsgetlocalizedresourcesdir}
-\constfunc{wxString}{GetLocalizedResourcesDir}{\param{const wxChar*}{ lang}, \param{ResourceCat}{ category = ResourceCat\_None}}
+\constfunc{wxString}{GetLocalizedResourcesDir}{\param{const wxString\&}{ lang}, \param{ResourceCat}{ category = ResourceCat\_None}}
Return the localized resources directory containing the resource files of the
specified category for the given language.
Return the localized resources directory containing the resource files of the
specified category for the given language.
virtual wxString GetPluginsDir() const;
virtual wxString GetResourcesDir() const;
virtual wxString
virtual wxString GetPluginsDir() const;
virtual wxString GetResourcesDir() const;
virtual wxString
- GetLocalizedResourcesDir(const wxChar *lang,
+ GetLocalizedResourcesDir(const wxString& lang,
ResourceCat category = ResourceCat_None) const;
virtual wxString GetDocumentsDir() const;
ResourceCat category = ResourceCat_None) const;
virtual wxString GetDocumentsDir() const;
// different under Unix for message catalog category (namely the standard
// prefix/share/locale/lang/LC_MESSAGES)
virtual wxString
// different under Unix for message catalog category (namely the standard
// prefix/share/locale/lang/LC_MESSAGES)
virtual wxString
- GetLocalizedResourcesDir(const wxChar *lang,
+ GetLocalizedResourcesDir(const wxString& lang,
ResourceCat WXUNUSED(category)
= ResourceCat_None) const
{
ResourceCat WXUNUSED(category)
= ResourceCat_None) const
{
virtual wxString GetLocalDataDir() const;
virtual wxString GetUserDataDir() const;
virtual wxString GetPluginsDir() const;
virtual wxString GetLocalDataDir() const;
virtual wxString GetUserDataDir() const;
virtual wxString GetPluginsDir() const;
- virtual wxString GetLocalizedResourcesDir(const wxChar *lang,
+ virtual wxString GetLocalizedResourcesDir(const wxString& lang,
ResourceCat category) const;
private:
ResourceCat category) const;
private:
-wxStandardPathsCF::GetLocalizedResourcesDir(const wxChar *lang,
+wxStandardPathsCF::GetLocalizedResourcesDir(const wxString& lang,
ResourceCat category) const
{
return wxStandardPathsBase::
ResourceCat category) const
{
return wxStandardPathsBase::
-wxStandardPaths::GetLocalizedResourcesDir(const wxChar *lang,
+wxStandardPaths::GetLocalizedResourcesDir(const wxString& lang,
ResourceCat category) const
{
return wxStandardPathsBase::GetLocalizedResourcesDir(lang, category);
ResourceCat category) const
{
return wxStandardPathsBase::GetLocalizedResourcesDir(lang, category);
-wxStandardPaths::GetLocalizedResourcesDir(const wxChar *lang,
+wxStandardPaths::GetLocalizedResourcesDir(const wxString& lang,
ResourceCat category) const
{
if ( category != ResourceCat_Messages )
ResourceCat category) const
{
if ( category != ResourceCat_Messages )