Added new function wxGetProcessId.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -231,6 +231,12 @@ wxMemorySize wxGetFreeMemory()
|
||||
return (wxMemorySize)lSize;
|
||||
}
|
||||
|
||||
// Get Process ID
|
||||
unsigned long wxGetProcessId()
|
||||
{
|
||||
return (unsigned long)getpid();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// env vars
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user