]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
removed more unneeded files, see patch 890642
[wxWidgets.git] / src / xrc / xmlres.cpp
index 9da7526c0522bda0906e9d478c0ae1dd48678fc8..bbe8ce47c56145c5d2df065b091b792d4d5b915d 100644 (file)
@@ -410,7 +410,11 @@ bool wxXmlResource::UpdateResources()
                 }
 
                 ProcessPlatformProperty(m_data[i].Doc->GetRoot());
+#if wxUSE_FILESYSTEM
                                m_data[i].Time = file->GetModificationTime();
+#else
+                m_data[i].Time = wxDateTime(wxFileModificationTime(m_data[i].File));
+#endif
                        }
 
 #           if wxUSE_FILESYSTEM