]> git.saurik.com Git - wxWidgets.git/commitdiff
temporary Watcom fix
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jan 2002 23:42:48 +0000 (23:42 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jan 2002 23:42:48 +0000 (23:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

index c26b9bc367e7135208b765f34c950365b39866f0..417ad1069fdf6e6490a86786fc77cc02c16ac046 100644 (file)
@@ -319,6 +319,8 @@ static const char * icon8_xpm[] = {
 
 bool wxIsDriveAvailable(const wxString& dirName)
 {
+    // FIXME_MGL - this method leads to hang up under Watcom for some reason
+#ifndef __WATCOMC__
     if ( dirName.Len() == 3 && dirName[1u] == wxT(':') )
     {
         wxString dirNameLower(dirName.Lower());
@@ -329,6 +331,7 @@ bool wxIsDriveAvailable(const wxString& dirName)
                 wxPathExists(dirNameLower));
     }
     else
+#endif
         return TRUE;
 }