name user config file appname.conf when it's locayed in ~/.appname by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -439,7 +439,7 @@ wxFileConfig::wxFileConfig(const wxString& appName, const wxString& vendorName,
|
|||||||
m_strLocalFile = GetLocalFileName(GetAppName());
|
m_strLocalFile = GetLocalFileName(GetAppName());
|
||||||
#if defined(__UNIX__) && !defined(__VMS)
|
#if defined(__UNIX__) && !defined(__VMS)
|
||||||
if ( style & wxCONFIG_USE_SUBDIR )
|
if ( style & wxCONFIG_USE_SUBDIR )
|
||||||
m_strLocalFile << wxFILE_SEP_PATH << GetAppName();
|
m_strLocalFile << wxFILE_SEP_PATH << GetAppName() << _T(".conf");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user