]> git.saurik.com Git - wxWidgets.git/commitdiff
Correction to previous commit
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 8 Jul 2005 22:12:36 +0000 (22:12 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 8 Jul 2005 22:12:36 +0000 (22:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/filedlgg.cpp

index 0d3d25fd0f50d830e15e6fc3b778878b02791440..3b50efa3ea52b8f676924790d8d279f59bf073df 100644 (file)
@@ -135,12 +135,10 @@ int wxCALLBACK wxFileDataTimeCompare( long data1, long data2, long data)
      return fd1->GetDateTime().IsLaterThan(fd2->GetDateTime()) ? int(data) : -int(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())
 #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
 #endif
 
 // defined in src/generic/dirctrlg.cpp