Mods for Wine compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-08-30 20:34:27 +00:00
parent f13b39c0c3
commit 3bce6687f4
30 changed files with 1128 additions and 745 deletions

View File

@@ -883,6 +883,7 @@ bool wxShutdown(wxShutdownFlags wFlags)
bOK = ::OpenProcessToken(GetCurrentProcess(),
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
&hToken) != 0;
#ifndef __WXWINE__
if ( bOK )
{
TOKEN_PRIVILEGES tkp;
@@ -901,6 +902,7 @@ bool wxShutdown(wxShutdownFlags wFlags)
// Cannot test the return value of AdjustTokenPrivileges.
bOK = ::GetLastError() == ERROR_SUCCESS;
}
#endif
}
if ( bOK )