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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user