X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..6a62b2c6eddef047009cf2c14365b7012fc418ec:/src/msw/wince/crt.cpp diff --git a/src/msw/wince/crt.cpp b/src/msw/wince/crt.cpp index 2b283f0e95..87f781002f 100644 --- a/src/msw/wince/crt.cpp +++ b/src/msw/wince/crt.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wince/crt.cpp +// Name: src/msw/wince/crt.cpp // Purpose: Implementation of CRT functions missing under Windows CE // Author: Vadim Zeitlin // Modified by: // Created: 03.04.04 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) 2004 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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; +} +