Remove MSW code targeted at versions prior to WinXP.

In 3.1 WinXP is required so remove checks and code for prior versions.
This commit is contained in:
Tobias Taschner
2015-08-06 09:44:20 +02:00
parent 0b821adf90
commit 388e82e70c
7 changed files with 26 additions and 80 deletions

View File

@@ -1679,15 +1679,6 @@ static bool wxCheckWin32Permission(const wxString& path, DWORD access)
return false;
}
if ( wxGetOsVersion() == wxOS_WINDOWS_9X )
{
// FAT directories always allow all access, even if they have the
// readonly flag set, and FAT files can only be read-only
return (dwAttr & FILE_ATTRIBUTE_DIRECTORY) ||
(access != GENERIC_WRITE ||
!(dwAttr & FILE_ATTRIBUTE_READONLY));
}
HANDLE h = ::CreateFile
(
path.t_str(),