X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09d66b2b74716690c45e49868c1aef306144d583..4f690a1d5e6192d0861686982e89f9f17a21e679:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index c9eea465bc..3f35029b21 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -996,7 +996,8 @@ Returns true if the file exists and is a plain file. Returns time of last modification of given file. -The return value is $0$ if an error occured (e.g. file not found). +The function returns \texttt{(time\_t)}$-1$ if an error occurred (e.g. file not +found). \membersection{::wxFileNameFromPath}\label{wxfilenamefrompath} @@ -1273,6 +1274,11 @@ Removes the directory {\it dir}, returning true if successful. Does not work und The {\it flags} parameter is reserved for future use. +Please notice that there is also a wxRmDir() function which simply wraps the +standard POSIX rmdir() function and so return an integer error code instead of +a boolean value (but otherwise is currently identical to wxRmdir), don't +confuse these two functions. + \membersection{::wxSetWorkingDirectory}\label{wxsetworkingdirectory} @@ -3089,7 +3095,7 @@ always returns \NULL in the other ports). \wxheading{Include files} - + \membersection{::wxGetBatteryState}\label{wxgetbatterystate}