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:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user