diff --git a/interface/wx/filefn.h b/interface/wx/filefn.h index a9392c3db2..45a94d22f7 100644 --- a/interface/wx/filefn.h +++ b/interface/wx/filefn.h @@ -129,26 +129,6 @@ typedef off_t wxFileOffset; */ #define wxCHANGE_UMASK(mask) -/** - This function returns the total number of bytes and number of free bytes on - the disk containing the directory @a path (it should exist). Both @a total - and @a free parameters may be @NULL if the corresponding information is not - needed. - - @since 2.3.2 - - @note The generic Unix implementation depends on the system having the - @c statfs() or @c statvfs() function. - - @return @true on success, @false if an error occurred (for example, the - directory doesn’t exist). - - @header{wx/filefn.h} -*/ -bool wxGetDiskSpace(const wxString& path, - wxLongLong total = NULL, - wxLongLong free = NULL); - /** Returns the Windows directory under Windows; other platforms return an empty string. diff --git a/interface/wx/utils.h b/interface/wx/utils.h index 990920ab77..c981365e37 100644 --- a/interface/wx/utils.h +++ b/interface/wx/utils.h @@ -365,6 +365,26 @@ wxPowerType wxGetPowerType(); */ wxString wxGetDisplayName(); +/** + This function returns the total number of bytes and number of free bytes on + the disk containing the directory @a path (it should exist). Both @a total + and @a free parameters may be @NULL if the corresponding information is not + needed. + + @since 2.3.2 + + @note The generic Unix implementation depends on the system having the + @c statfs() or @c statvfs() function. + + @return @true on success, @false if an error occurred (for example, the + directory doesn’t exist). + + @header{wx/utils.h} +*/ +bool wxGetDiskSpace(const wxString& path, + wxLongLong total = NULL, + wxLongLong free = NULL); + /** For normal keys, returns @true if the specified key is currently down.