Fix wxPATH_RMDIR_FULL documentation
Explain what this flag really does in Rmdir() documentation itself, as the old wording was confusing. Closes #16682.
This commit is contained in:
@@ -1225,9 +1225,12 @@ public:
|
|||||||
Deletes the specified directory from the file system.
|
Deletes the specified directory from the file system.
|
||||||
|
|
||||||
@param flags
|
@param flags
|
||||||
Can contain one of wxPATH_RMDIR_FULL or wxPATH_RMDIR_RECURSIVE. By
|
With default value, the directory is removed only if it is empty.
|
||||||
default contains neither so the directory will not be removed
|
If wxPATH_RMDIR_FULL is specified, it is removed even if it
|
||||||
unless it is empty.
|
contains subdirectories, provided that there are no files in
|
||||||
|
neither this directory nor its subdirectories. If flags contains
|
||||||
|
wxPATH_RMDIR_RECURSIVE, then the directory is removed with all the
|
||||||
|
files and directories under it.
|
||||||
|
|
||||||
@return Returns @true if the directory was successfully deleted, @false
|
@return Returns @true if the directory was successfully deleted, @false
|
||||||
otherwise.
|
otherwise.
|
||||||
@@ -1240,9 +1243,12 @@ public:
|
|||||||
@param dir
|
@param dir
|
||||||
The directory to delete
|
The directory to delete
|
||||||
@param flags
|
@param flags
|
||||||
Can contain one of wxPATH_RMDIR_FULL or wxPATH_RMDIR_RECURSIVE. By
|
With default value, the directory is removed only if it is empty.
|
||||||
default contains neither so the directory will not be removed
|
If wxPATH_RMDIR_FULL is specified, it is removed even if it
|
||||||
unless it is empty.
|
contains subdirectories, provided that there are no files in
|
||||||
|
neither this directory nor its subdirectories. If flags contains
|
||||||
|
wxPATH_RMDIR_RECURSIVE, then the directory is removed with all the
|
||||||
|
files and directories under it.
|
||||||
|
|
||||||
@return Returns @true if the directory was successfully deleted, @false
|
@return Returns @true if the directory was successfully deleted, @false
|
||||||
otherwise.
|
otherwise.
|
||||||
|
Reference in New Issue
Block a user