From d5eb08546fff0052bbe2e2c657e4da143a06a7cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 25 Aug 2006 11:21:14 +0000 Subject: [PATCH] Missing API. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/utils.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mgl/utils.cpp b/src/mgl/utils.cpp index 7fad2ad588..b62f4b02ec 100644 --- a/src/mgl/utils.cpp +++ b/src/mgl/utils.cpp @@ -42,6 +42,15 @@ // misc. //---------------------------------------------------------------------------- +// Get free memory in bytes, or -1 if cannot determine amount (e.g. on UNIX) +wxMemorySize wxGetFreeMemory() +{ + // TODO - probably should be extracted to + // src/msdos/utilsdos.cpp and src/unix/utilsunx.cpp + // to avoid code duplication + return -1; +} + void wxBell() { // FIXME_MGL -- 2.47.2