wxString wxFileConfig::GetLocalDir()
{
wxString strDir;
-
+
wxGetHomeDir(&strDir);
-
+
#ifdef __UNIX__
if (strDir.Last() != '/') strDir << '/';
#else
if ( strchr(szFile, '.') == NULL )
str << ".ini";
#endif
-
+
return str;
}
// last entry?
if ( pNext == NULL )
m_linesTail = pPrev;
- else
+ else
pNext->SetPrev(pPrev);
delete pLine;
{
if(str.IsEmpty())
return str;
-
+
wxString strResult;
strResult.Alloc(str.Len());