]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/process.cpp
more wxPostEvent MT fixes
[wxWidgets.git] / src / common / process.cpp
index cffb5f85693ff86c36c5c83073429cb02ece5f02..4ef1fb157ab9e65b8b34961bb4b4a62d4da091ed 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "process.h"
 #endif
 
     #pragma implementation "process.h"
 #endif
 
@@ -157,7 +157,7 @@ bool wxProcess::Exists(int pid)
     {
         case wxKILL_OK:
         case wxKILL_ACCESS_DENIED:
     {
         case wxKILL_OK:
         case wxKILL_ACCESS_DENIED:
-            return TRUE;
+            return true;
 
         default:
         case wxKILL_ERROR:
 
         default:
         case wxKILL_ERROR:
@@ -166,7 +166,7 @@ bool wxProcess::Exists(int pid)
             // fall through
 
         case wxKILL_NO_PROCESS:
             // fall through
 
         case wxKILL_NO_PROCESS:
-            return FALSE;
+            return false;
     }
 }
 
     }
 }