]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/file.h
mention that width/height parameters to wxDisplaySize[MM]() can be NULL
[wxWidgets.git] / interface / wx / file.h
index db7cb2f8f3cf44f2baa89ec0f7817b3a799132c6..6c0ababe845ec7193a26f112bf0f3f1d840364dc 100644 (file)
@@ -82,6 +82,12 @@ public:
 
     /**
         Returns the length of the file.
+
+        This method may return wxInvalidOffset if the length couldn't be
+        determined or also 0 even for non-empty files if the file is not
+        seekable. In general, the only way to determine if the file for which
+        this function returns 0 is really empty or not is to try reading from
+        it.
     */
     wxFileOffset Length() const;