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:
@@ -281,7 +281,7 @@ wxString wxStandardPaths::GetExecutablePath() const
|
||||
|
||||
wxString wxStandardPaths::GetConfigDir() const
|
||||
{
|
||||
return AppendAppName(DoGetDirectory(CSIDL_COMMON_APPDATA));
|
||||
return AppendAppInfo(DoGetDirectory(CSIDL_COMMON_APPDATA));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetUserConfigDir() const
|
||||
@@ -298,12 +298,12 @@ wxString wxStandardPaths::GetDataDir() const
|
||||
|
||||
wxString wxStandardPaths::GetUserDataDir() const
|
||||
{
|
||||
return AppendAppName(GetUserConfigDir());
|
||||
return AppendAppInfo(GetUserConfigDir());
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetUserLocalDataDir() const
|
||||
{
|
||||
return AppendAppName(DoGetDirectory(CSIDL_LOCAL_APPDATA));
|
||||
return AppendAppInfo(DoGetDirectory(CSIDL_LOCAL_APPDATA));
|
||||
}
|
||||
|
||||
wxString wxStandardPaths::GetPluginsDir() const
|
||||
|
Reference in New Issue
Block a user