temporary Watcom fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7b9f73d205
commit
6157794cc3
@ -319,6 +319,8 @@ static const char * icon8_xpm[] = {
|
|||||||
|
|
||||||
bool wxIsDriveAvailable(const wxString& dirName)
|
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(':') )
|
if ( dirName.Len() == 3 && dirName[1u] == wxT(':') )
|
||||||
{
|
{
|
||||||
wxString dirNameLower(dirName.Lower());
|
wxString dirNameLower(dirName.Lower());
|
||||||
@ -329,6 +331,7 @@ bool wxIsDriveAvailable(const wxString& dirName)
|
|||||||
wxPathExists(dirNameLower));
|
wxPathExists(dirNameLower));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user