From: Michael Wetherell Date: Fri, 8 Jul 2005 22:12:36 +0000 (+0000) Subject: Correction to previous commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70a7eb078d6f9d5288527be43608e22ba65a26a4 Correction to previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 0d3d25fd0f..3b50efa3ea 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -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