PalmOS 6 compilation fixes (patch 1849757)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -403,11 +403,9 @@ void wxStripExtension(wxString& buffer)
|
||||
template<typename CharType>
|
||||
static CharType *wxDoRealPath (CharType *path)
|
||||
{
|
||||
static const CharType SEP = wxFILE_SEP_PATH;
|
||||
#ifdef __WXMSW__
|
||||
static const CharType SEP = wxT('\\');
|
||||
wxUnix2DosFilename(path);
|
||||
#else
|
||||
static const CharType SEP = wxT('/');
|
||||
#endif
|
||||
if (path[0] && path[1]) {
|
||||
/* MATTHEW: special case "/./x" */
|
||||
@@ -539,11 +537,11 @@ static CharType *wxDoExpandPath(CharType *buf, const wxString& name)
|
||||
trimchars[2] = wxT('\t');
|
||||
trimchars[3] = 0;
|
||||
|
||||
static const CharType SEP = wxFILE_SEP_PATH;
|
||||
#ifdef __WXMSW__
|
||||
const CharType SEP = wxT('\\');
|
||||
#else
|
||||
const CharType SEP = wxT('/');
|
||||
//wxUnix2DosFilename(path);
|
||||
#endif
|
||||
|
||||
buf[0] = wxT('\0');
|
||||
if (name.empty())
|
||||
return buf;
|
||||
|
||||
Reference in New Issue
Block a user