+ wxString strPath;
+ wxSplitPath(strName, &strPath, NULL, NULL);
+ if ( strPath.IsEmpty() )
+ strPath = '.'; // GetTempFileName will fail if we give it empty string
+ if ( !GetTempFileName(strPath, "wx_",0, m_strTemp.GetWriteBuf(MAX_PATH)) )
+ wxLogLastError("GetTempFileName");
+ m_strTemp.UngetWriteBuf();