Added 'full' param to wxFileName::Mkdir to make all directories in a path,

not just the last one


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-03-26 13:31:12 +00:00
parent 5d978d07a4
commit f0ce340942
2 changed files with 40 additions and 7 deletions

View File

@@ -166,9 +166,10 @@ public:
// get a temp file name starting with thespecified prefix
void AssignTempFileName( const wxString &prefix );
// directory creation and removal
bool Mkdir( int perm = 0777 );
static bool Mkdir( const wxString &dir, int perm = 0777 );
// directory creation and removal.
// if full is TRUE, will try to make each directory in the path.
bool Mkdir( int perm = 0777, bool full = FALSE);
static bool Mkdir( const wxString &dir, int perm = 0777, bool full = FALSE );
bool Rmdir();
static bool Rmdir( const wxString &dir );