allow compilation with wxUSE_DATETIME == 0 (patch 679822)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,8 +190,11 @@ wxFSFile* wxLocalFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString&
|
||||
return new wxFSFile(new wxFFileInputStream(fullpath),
|
||||
right,
|
||||
GetMimeTypeFromExt(location),
|
||||
GetAnchor(location),
|
||||
wxDateTime(wxFileModificationTime(fullpath)));
|
||||
GetAnchor(location)
|
||||
#if wxUSE_DATETIME
|
||||
,wxDateTime(wxFileModificationTime(fullpath))
|
||||
#endif // wxUSE_DATETIME
|
||||
);
|
||||
}
|
||||
|
||||
wxString wxLocalFSHandler::FindFirst(const wxString& spec, int flags)
|
||||
|
Reference in New Issue
Block a user