Some Unicode fixes (mostly for Borland's pickiness regarding _T(), which

might be considered a good thing anyway).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-20 11:08:02 +00:00
parent 554936c829
commit d0bdc3ca5f
5 changed files with 36 additions and 22 deletions

View File

@@ -277,7 +277,7 @@ bool wxFileExists(const char *pszFileName)
bool
wxIsAbsolutePath (const wxString& filename)
{
if (filename != "")
if (filename != _T(""))
{
if (filename[0] == _T('/')
#ifdef __VMS__
@@ -721,7 +721,7 @@ wxPathOnly (wxChar *path)
// Return just the directory, or NULL if no directory
wxString wxPathOnly (const wxString& path)
{
if (path != "")
if (path != _T(""))
{
wxChar buf[_MAXPATHLEN];