Don't use vendor name by default in wxStandardPaths.
The changes in r50025 made the behaviour of wxStandardPaths silently incompatible with the previous versions under MSW and OS X as it now used the vendor name in the paths it returned, unlike before. The benefits of doing this don't justify silently breaking the existing programs so revert this change and continue to use the application name only by default. It is, of course, still possible to explicitly ask for the vendor name to be used with wxStandardPaths::UseAppInfo(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -333,9 +333,6 @@ wxString wxStandardPaths::MSWGetShellDir(int csidl)
|
||||
|
||||
wxStandardPaths::wxStandardPaths()
|
||||
{
|
||||
// under MSW it's common to use both the applicatio nand vendor
|
||||
UseAppInfo(AppInfo_AppName | AppInfo_VendorName);
|
||||
|
||||
// make it possible to run uninstalled application from the build directory
|
||||
IgnoreAppBuildSubDirs();
|
||||
}
|
||||
|
Reference in New Issue
Block a user