]> git.saurik.com Git - wxWidgets.git/commitdiff
Added new function wxGetProcessId.
authorStefan Neis <Stefan.Neis@t-online.de>
Mon, 28 Mar 2005 18:00:45 +0000 (18:00 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Mon, 28 Mar 2005 18:00:45 +0000 (18:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/utils.cpp

index 1ee5362ef432108a6173e2d15ae2dd0950d40f01..f29aafc86b204b42f4e658b23a64a4744bc9b190 100644 (file)
@@ -231,6 +231,12 @@ wxMemorySize wxGetFreeMemory()
     return (wxMemorySize)lSize;
 }
 
+// Get Process ID
+unsigned long wxGetProcessId()
+{
+    return (unsigned long)getpid();
+}
+
 // ----------------------------------------------------------------------------
 // env vars
 // ----------------------------------------------------------------------------