#define wxRename wxMSLU__trename
#else
#ifdef __WXWINCE__
- #define wxRemove DeleteFile
+ /* carefully: wxRemove() must return 0 on success while DeleteFile()
+ returns 0 on error, so don't just define one as the other */
+ inline int wxRemove(const wxChar *path)
+ {
+ return ::DeleteFile(path) == 0;
+ }
#else
#define wxRemove _tremove
#define wxRename _trename