X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1edc08df3301e5fc865a6f8d13b64153923162c..0bbe61b8c18a1795189f0cf73cc61c14a0fb846d:/src/msw/wince/crt.cpp diff --git a/src/msw/wince/crt.cpp b/src/msw/wince/crt.cpp index 0e9e70c85c..740205e8e5 100644 --- a/src/msw/wince/crt.cpp +++ b/src/msw/wince/crt.cpp @@ -51,9 +51,9 @@ 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); @@ -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; +} +