take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,7 +94,7 @@ wxString wxStandardPaths::GetPluginsDir() const
|
||||
}
|
||||
|
||||
wxString
|
||||
wxStandardPaths::GetLocalizedResourcesDir(const wxChar *lang,
|
||||
wxStandardPaths::GetLocalizedResourcesDir(const wxString& lang,
|
||||
ResourceCat category) const
|
||||
{
|
||||
return wxStandardPathsBase::GetLocalizedResourcesDir(lang, category);
|
||||
@@ -206,7 +206,7 @@ wxString wxStandardPaths::GetPluginsDir() const
|
||||
}
|
||||
|
||||
wxString
|
||||
wxStandardPaths::GetLocalizedResourcesDir(const wxChar *lang,
|
||||
wxStandardPaths::GetLocalizedResourcesDir(const wxString& lang,
|
||||
ResourceCat category) const
|
||||
{
|
||||
if ( category != ResourceCat_Messages )
|
||||
|
||||
Reference in New Issue
Block a user