]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
Added some accessors for wxEffects
[wxWidgets.git] / src / msw / utils.cpp
index d9fcbb003362932d1630571c460d22d9a7329d53..9322dcb46e72e70a0b1da2f27c1a483422038a34 100644 (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 )