I blindly believe that WinCE doesn't delete a

directory with CreateDirectory.
  [ 1610415 ] wxWinCE remove directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-12-06 21:40:00 +00:00
parent 5059e05d42
commit 4d21409ebc

View File

@@ -1270,7 +1270,7 @@ bool wxRmdir(const wxString& dir, int WXUNUSED(flags))
#elif defined(__OS2__)
return (::DosDeleteDir((PSZ)dir.c_str()) == 0);
#elif defined(__WXWINCE__)
return (CreateDirectory(dir, NULL) != 0);
return (RemoveDirectory(dir) != 0);
#elif defined(__WXPALMOS__)
// TODO with VFSFileRename()
return false;