]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/threadno.cpp
corrected version in the libraries names: it's only 2 digits even in development...
[wxWidgets.git] / src / gtk / threadno.cpp
index deb4a9251c837854c7ff51fb2e3d921b68b732a7..435f9213948abab926b74704713f84e5a27f68d5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        thread.cpp
+// Name:        src/gtk/threadno.cpp
 // Purpose:     Solaris thread support
 // Author:      Guilhem Lavaux
 // Modified by:
 #include "wx/wxprec.h"
 
 #include "wx/thread.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/module.h"
+#endif
+
 #include "wx/wx.h"
-#include "wx/module.h"
-#include "wx/log.h"
 
 wxMutex::wxMutex()
 {
@@ -65,7 +69,7 @@ void wxCondition::Wait(wxMutex& WXUNUSED(mutex))
 bool wxCondition::Wait(wxMutex& WXUNUSED(mutex), unsigned long WXUNUSED(sec),
         unsigned long WXUNUSED(nsec))
 {
-    return FALSE;
+    return false;
 }
 
 void wxCondition::Signal()
@@ -124,17 +128,17 @@ unsigned long wxThread::GetID() const
 
 bool wxThread::IsMain()
 {
-    return TRUE;
+    return true;
 }
 
 bool wxThread::IsRunning() const
 {
-    return FALSE;
+    return false;
 }
 
 bool wxThread::IsAlive() const
 {
-    return FALSE;
+    return false;
 }
 
 void wxThread::SetPriority(int WXUNUSED(prio)) { }
@@ -166,7 +170,7 @@ bool wxThreadModule::OnInit()
 {
     wxMainMutex = new wxMutex();
     wxMainMutex->Lock();
-    return TRUE;
+    return true;
 }
 
 void wxThreadModule::OnExit()