From 264f00e7d963802202f56e8eb19663d8d73f73fb Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Mon, 28 Mar 2005 18:00:45 +0000 Subject: [PATCH] Added new function wxGetProcessId. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/utils.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 1ee5362ef4..f29aafc86b 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -231,6 +231,12 @@ wxMemorySize wxGetFreeMemory() return (wxMemorySize)lSize; } +// Get Process ID +unsigned long wxGetProcessId() +{ + return (unsigned long)getpid(); +} + // ---------------------------------------------------------------------------- // env vars // ----------------------------------------------------------------------------