X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..69cecdb1c42a0dc9736a8f7ab600330641598909:/src/msw/wince/crt.cpp diff --git a/src/msw/wince/crt.cpp b/src/msw/wince/crt.cpp index 0c52cb2fb1..9afe12d6ee 100644 --- a/src/msw/wince/crt.cpp +++ b/src/msw/wince/crt.cpp @@ -4,9 +4,9 @@ // Author: Vadim Zeitlin // Modified by: // Created: 03.04.04 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) 2004 Vadim Zeitlin -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -51,7 +51,7 @@ void abort() { wxString name; if ( wxTheApp ) - name = wxTheApp->GetAppName(); + name = wxTheApp->GetAppDisplayName(); if ( name.empty() ) name = L"wxWidgets Application"; @@ -70,3 +70,13 @@ char *getenv(const char * WXUNUSED(name)) return NULL; } +int wxCRT_Rename(const wchar_t *src, const wchar_t *dst) +{ + return ::MoveFile(src, dst) ? 0 : -1; +} + +int wxCRT_Remove(const wchar_t *path) +{ + return ::DeleteFile(path) ? 0 : -1; +} +