]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxchar.h
restored the EVT_SCROLL and EVT_COMMAND_SCROLL definitions to include the ENDSCROLL...
[wxWidgets.git] / include / wx / wxchar.h
index 139f54061174e7ed93c74c9f28c7be238ddd1c58..cf639c0437a6da5ff81612f1704721a26c7a6ff0 100644 (file)
         #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