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:
@@ -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];
|
||||
|
||||
|
Reference in New Issue
Block a user