]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
sockets work with wxDFB now
[wxWidgets.git] / src / common / filefn.cpp
index 2bd1b05de35d88d92155a838b37ceb93c35495c4..1d0a96278c72145467a4641de8c3f579d1c6bcd9 100644 (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;