// Author: William Osborne
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id:
+// RCS-ID: $Id:
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxStrncpy (buf, wxConvertMB2WX(id), maxSize - 1);
- // free the buffer
+ // free the buffer
MemPtrUnlock(id);
return true;
// ----------------------------------------------------------------------------
// Get free memory in bytes, or -1 if cannot determine amount (e.g. on UNIX)
-long wxGetFreeMemory()
+wxMemorySize wxGetFreeMemory()
{
uint32_t freeTotal = 0;
uint32_t freeHeap;
freeTotal+=freeHeap;
}
- return freeTotal;
+ return (wxMemorySize)freeTotal;
}
unsigned long wxGetProcessId()
#else // !wxUSE_FONTMAP
-#include "wx/palmos/registry.h"
-
// this should work if Internet Exploiter is installed
extern long wxCharsetToCodepage(const wxChar *name)
{