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:
Vadim Zeitlin
2007-01-20 14:15:57 +00:00
parent 869c929083
commit fc9f11cc6f

View File

@@ -439,7 +439,7 @@ wxFileConfig::wxFileConfig(const wxString& appName, const wxString& vendorName,
m_strLocalFile = GetLocalFileName(GetAppName());
#if defined(__UNIX__) && !defined(__VMS)
if ( style & wxCONFIG_USE_SUBDIR )
m_strLocalFile << wxFILE_SEP_PATH << GetAppName();
m_strLocalFile << wxFILE_SEP_PATH << GetAppName() << _T(".conf");
#endif
}