X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bade0251e3ca060eb17bc5880263a17842e6ad00..f1f5f16f780bb41aa2ea24ccbf728f14c86cc475:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 2bd1b05de3..1d0a96278c 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -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;