/////////////////////////////////////////////////////////////////////////////
-// 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 <vadim@wxwindows.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
{
wxString name;
if ( wxTheApp )
- name = wxTheApp->GetAppName();
+ name = wxTheApp->GetAppDisplayName();
if ( name.empty() )
name = L"wxWidgets Application";
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;
+}
+