X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c56ae5fe8559b0830bdbad932da35cf4363f901..081b33427e1a1b309a14624108ca79bfdbfa7913:/src/msw/wince/crt.cpp diff --git a/src/msw/wince/crt.cpp b/src/msw/wince/crt.cpp index 50804e856b..9afe12d6ee 100644 --- a/src/msw/wince/crt.cpp +++ b/src/msw/wince/crt.cpp @@ -4,7 +4,7 @@ // Author: Vadim Zeitlin // Modified by: // Created: 03.04.04 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) 2004 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -51,13 +51,14 @@ void abort() { wxString name; if ( wxTheApp ) - name = wxTheApp->GetAppName(); + name = wxTheApp->GetAppDisplayName(); if ( name.empty() ) - name = L"wxWindows Application"; + name = L"wxWidgets Application"; MessageBox(NULL, L"Abnormal program termination", name, MB_ICONHAND | MB_OK); - ::ExitProcess(3); + _exit(3); +// ::ExitProcess(3); } extern "C" @@ -69,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; +} +