Correction to previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -135,12 +135,10 @@ int wxCALLBACK wxFileDataTimeCompare( long data1, long data2, long data)
|
||||
return fd1->GetDateTime().IsLaterThan(fd2->GetDateTime()) ? int(data) : -int(data);
|
||||
}
|
||||
|
||||
#if defined(__UNIX__) && !defined(__OS2__)
|
||||
#define IsTopMostDir(dir) (dir == wxT("/"))
|
||||
#endif
|
||||
|
||||
#if defined(__DOS__) || defined(__WINDOWS__) || defined (__OS2__)
|
||||
#define IsTopMostDir(dir) (dir.empty())
|
||||
#else
|
||||
#define IsTopMostDir(dir) (dir == wxT("/"))
|
||||
#endif
|
||||
|
||||
// defined in src/generic/dirctrlg.cpp
|
||||
|
Reference in New Issue
Block a user