]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
correct idle tag type; remove unneeded includes
[wxWidgets.git] / src / common / filename.cpp
index f55a693ae8203e11604756cf6d4293dd2b301063..91451e445240f23de9d24069e09beda5e2bc49d7 100644 (file)
@@ -2040,7 +2040,10 @@ wxULongLong wxFileName::GetSize(const wxString &filename)
     if (!wxFileExists(filename))
         return wxInvalidSize;
 
-#ifdef __WIN32__
+#if defined(__WXPALMOS__)
+    // TODO
+    return wxInvalidSize;
+#elif defined(__WIN32__)
     wxFileHandle f(filename, wxFileHandle::Read);
     if (!f.IsOk())
         return wxInvalidSize;