allow to optionally use vendor name component in standard paths (slightly modified patch 1831308)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,12 +75,12 @@ wxString wxStandardPaths::GetConfigDir() const
|
||||
|
||||
wxString wxStandardPaths::GetDataDir() const
|
||||
{
|
||||
return AppendAppName(GetInstallPrefix() + _T("/sys$share"));
|
||||
return AppendAppInfo(GetInstallPrefix() + _T("/sys$share"));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetLocalDataDir() const
|
||||
{
|
||||
return AppendAppName(_T("/sys$manager"));
|
||||
return AppendAppInfo(_T("/sys$manager"));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetUserDataDir() const
|
||||
@@ -187,22 +187,22 @@ wxString wxStandardPaths::GetConfigDir() const
|
||||
|
||||
wxString wxStandardPaths::GetDataDir() const
|
||||
{
|
||||
return AppendAppName(GetInstallPrefix() + _T("/share"));
|
||||
return AppendAppInfo(GetInstallPrefix() + _T("/share"));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetLocalDataDir() const
|
||||
{
|
||||
return AppendAppName(_T("/etc"));
|
||||
return AppendAppInfo(_T("/etc"));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetUserDataDir() const
|
||||
{
|
||||
return AppendAppName(wxFileName::GetHomeDir() + _T("/."));
|
||||
return AppendAppInfo(wxFileName::GetHomeDir() + _T("/."));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetPluginsDir() const
|
||||
{
|
||||
return AppendAppName(GetInstallPrefix() + _T("/lib"));
|
||||
return AppendAppInfo(GetInstallPrefix() + _T("/lib"));
|
||||
}
|
||||
|
||||
wxString
|
||||
|
||||
Reference in New Issue
Block a user